Skip to content

Commit

Permalink
Change dataset release date to TextField
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-griffen committed Oct 26, 2023
1 parent e2a12cc commit 4035548
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions hub/migrations/0053_alter_dataset_release_date.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.1.2 on 2023-10-26 11:04

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("hub", "0052_add_dataset_is_public_flag"),
]

operations = [
migrations.AlterField(
model_name="dataset",
name="release_date",
field=models.TextField(blank=True, null=True),
),
]
2 changes: 1 addition & 1 deletion hub/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def options_default():
max_length=50, blank=True, null=True, choices=SOURCE_CHOICES
)
data_url = models.URLField(blank=True, null=True)
release_date = models.DateField(blank=True, null=True)
release_date = models.TextField(blank=True, null=True)
is_upload = models.BooleanField(default=False)
is_range = models.BooleanField(default=False)
featured = models.BooleanField(default=False)
Expand Down

0 comments on commit 4035548

Please sign in to comment.