mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-21 12:52:21 -06:00
Closes #17761: Store empty CharField choices as null
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user