agateblue / agateblue/django-dynamic-preferences
ModelChoicePreference when pk not exists
Abierto
- Lenguaje dominante
- Python
- Estrellas
- 359
- Forks
- 86
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.