Skip to content

Commit

Permalink
fix: allow blank RawDatum.expiration_date
Browse files Browse the repository at this point in the history
  • Loading branch information
aaxelb committed Oct 17, 2024
1 parent 9679110 commit 5df7db0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion share/migrations/0075_rawdatum_expiration_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='rawdatum',
name='expiration_date',
field=models.DateField(help_text='An (optional) date after which this datum is no longer valid.', null=True),
field=models.DateField(blank=True, help_text='An (optional) date after which this datum is no longer valid.', null=True),
),
]
1 change: 1 addition & 0 deletions share/models/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ class RawDatum(models.Model):
))
expiration_date = models.DateField(
null=True,
blank=True,
help_text='An (optional) date after which this datum is no longer valid.',
)

Expand Down

0 comments on commit 5df7db0

Please sign in to comment.