diff --git a/geospaas/catalog/migrations/0001_initial.py b/geospaas/catalog/migrations/0001_initial.py index 0950ba0f..01030c17 100644 --- a/geospaas/catalog/migrations/0001_initial.py +++ b/geospaas/catalog/migrations/0001_initial.py @@ -103,7 +103,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='dataset', name='parameters', - field=models.ManyToManyField(to='vocabularies.Parameter'), + field=models.ManyToManyField(through='catalog.DatasetParameter', to='vocabularies.Parameter'), ), migrations.AddField( model_name='dataset',