1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Convert NullBooleanField to BooleanField(null=True)

This commit is contained in:
Jeremy Stretch
2020-07-16 11:56:35 -04:00
parent 8dd41b771e
commit 68ecddccdb
5 changed files with 82 additions and 14 deletions

View File

@@ -275,9 +275,10 @@ class CircuitTermination(CableTermination):
blank=True,
null=True
)
connection_status = models.NullBooleanField(
connection_status = models.BooleanField(
choices=CONNECTION_STATUS_CHOICES,
blank=True
blank=True,
null=True
)
port_speed = models.PositiveIntegerField(
verbose_name='Port speed (Kbps)'