Convert NullBooleanField to BooleanField(null=True)

This commit is contained in:
Jeremy Stretch
2020-07-16 11:56:35 -04:00
parent b0a3030957
commit 505fc341e0
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)'