Closes #17761: Store empty CharField choices as null

This commit is contained in:
Jeremy Stretch
2024-10-18 16:55:58 -04:00
parent 75270c1aef
commit ef1fdf0a01
23 changed files with 622 additions and 25 deletions

View File

@@ -760,6 +760,7 @@ class CustomFieldChoiceSet(CloningMixin, ExportTemplatesMixin, ChangeLoggedModel
max_length=50,
choices=CustomFieldChoiceSetBaseChoices,
blank=True,
null=True,
help_text=_('Base set of predefined choices (optional)')
)
extra_choices = ArrayField(