Skip to content

Commit

Permalink
Change dataset url to charfield (#4232)
Browse files Browse the repository at this point in the history
* Fix and improve virtual museum harvester

* Change dataset url to charfield
  • Loading branch information
dimasciput committed Sep 9, 2024
1 parent 039ec43 commit afed0f8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions bims/migrations/0441_alter_dataset_url.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.2.15 on 2024-09-09 07:39

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('bims', '0440_dataset'),
]

operations = [
migrations.AlterField(
model_name='dataset',
name='url',
field=models.CharField(blank=True, help_text='URL of the dataset'),
),
]
2 changes: 1 addition & 1 deletion bims/models/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Dataset(models.Model):
blank=True,
help_text='Citation of the dataset'
)
url = models.URLField(
url = models.CharField(
blank=True,
help_text='URL of the dataset'
)
Expand Down

0 comments on commit afed0f8

Please sign in to comment.