Upgrades
[redakcja.git] / src / documents / migrations / 0005_auto_20201102_1340.py
index 0731fa8..eb6e493 100644 (file)
@@ -15,6 +15,6 @@ class Migration(migrations.Migration):
         migrations.AlterField(
             model_name='book',
             name='catalogue_book',
         migrations.AlterField(
             model_name='book',
             name='catalogue_book',
-            field=models.ForeignKey(blank=True, editable=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='document_books', related_query_name='document_book', to='catalogue.Book', to_field='slug'),
+            field=models.ForeignKey(blank=True, editable=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='document_books', related_query_name='document_book', to='catalogue.Book', to_field='slug', db_constraint=False),
         ),
     ]
         ),
     ]