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

@@ -1905,9 +1905,10 @@ class PowerFeed(ChangeLoggedModel, CableTermination, CustomFieldModel):
blank=True,
null=True
)
connection_status = models.NullBooleanField(
connection_status = models.BooleanField(
choices=CONNECTION_STATUS_CHOICES,
blank=True
blank=True,
null=True
)
name = models.CharField(
max_length=50