agateblue / agateblue/django-dynamic-preferences
ModelChoicePreference when pk not exists
Aperta
- Lingua principale
- Python
- Stelle
- 359
- Fork
- 86
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.