Fixes #4405: reset metadata editor when switching views.
[redakcja.git] / src / documents / migrations / 0003_auto_20201102_1324.py
index 79c3073..5292fa6 100644 (file)
@@ -15,6 +15,6 @@ class Migration(migrations.Migration):
         migrations.AlterField(
             model_name='book',
             name='dc_slug',
         migrations.AlterField(
             model_name='book',
             name='dc_slug',
-            field=models.ForeignKey(blank=True, editable=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='catalogue.Book', to_field='slug'),
+            field=models.ForeignKey(blank=True, editable=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='catalogue.Book', to_field='slug', db_constraint=False),
         ),
     ]
         ),
     ]