agateblue / agateblue/django-dynamic-preferences
ModelChoicePreference when pk not exists
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 359
- Fork
- 86
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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?
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.