agateblue / agateblue/django-dynamic-preferences
ModelChoicePreference when pk not exists
Ouverte
- Langage dominant
- Python
- Étoiles
- 359
- Forks
- 86
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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?
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.