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

@@ -125,7 +125,8 @@ class ContactAssignment(CustomFieldsMixin, ExportTemplatesMixin, TagsMixin, Chan
verbose_name=_('priority'),
max_length=50,
choices=ContactPriorityChoices,
blank=True
blank=True,
null=True
)
clone_fields = ('object_type', 'object_id', 'role', 'priority')