From 1ed2cb86985963b77c3c77a49f291b66b9480647 Mon Sep 17 00:00:00 2001 From: aanersc Date: Mon, 12 Oct 2020 10:00:29 +0200 Subject: [PATCH] "#51 Revert modiying the initial migration file" This reverts commit 27aaa5ca38d8638924c46eb9e309db47ab11cdda. --- geospaas/catalog/migrations/0001_initial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',