agateblue / agateblue/django-dynamic-preferences

ModelChoicePreference when pk not exists

オープン
#314 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
359
フォーク
86
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。