agateblue / agateblue/django-dynamic-preferences

ModelChoicePreference when pk not exists

Aberta
#314 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
359
Forks
86
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Hi,

When I use the `ModelChoicePreference` preference I save the pk of an object. If this object is deleted, the serializer's behavior is to throw an exception. Wouldn't the correct thing be to return empty in this case?

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.