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

@@ -784,6 +784,7 @@ class IPAddress(ContactsMixin, PrimaryModel):
max_length=50,
choices=IPAddressRoleChoices,
blank=True,
null=True,
help_text=_('The functional role of this IP')
)
assigned_object_type = models.ForeignKey(