Skip to content

Commit

Permalink
Merge pull request #494 from robotichead/deepsource-autofix-8eacaa4a
Browse files Browse the repository at this point in the history
refactor: replace `null=True` with `default=''` in nullable string field
  • Loading branch information
robotichead authored Oct 15, 2023
2 parents f64984e + 7ba79e8 commit 4fda8e7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions NearBeach/models.py
Original file line number Diff line number Diff line change
@@ -999,23 +999,23 @@ class ObjectAssignment(models.Model):
meta_object_title = models.CharField(
max_length=255,
blank=True,
null=True,
default='',
)
meta_object_status = models.CharField(
max_length=255,
blank=True,
null=True,
default='',
)
link_relationship = models.CharField(
max_length=10,
choices=LINK_RELATIONSHIP,
blank=True,
null=True,
default='',
)
parent_link = models.CharField(
max_length=20,
blank=True,
null=True,
default='',
)
date_created = models.DateTimeField(auto_now_add=True)
date_modified = models.DateTimeField(auto_now=True)
@@ -1268,7 +1268,7 @@ class RequestForChange(models.Model):
rfc_version_number = models.CharField(
max_length=25,
blank=True,
null=True,
default='',
)
rfc_status = models.ForeignKey(
"ListOfRfcStatus",

0 comments on commit 4fda8e7

Please sign in to comment.