X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/21cd47e315b2e86edeff93bac5d1eca5b5d2c428..360d9d37f72b1c6e2edb83c3a0218e55578134f3:/src/documents/migrations/0005_auto_20201102_1340.py?ds=sidebyside

diff --git a/src/documents/migrations/0005_auto_20201102_1340.py b/src/documents/migrations/0005_auto_20201102_1340.py
index 0731fa83..eb6e493d 100644
--- a/src/documents/migrations/0005_auto_20201102_1340.py
+++ b/src/documents/migrations/0005_auto_20201102_1340.py
@@ -15,6 +15,6 @@ class Migration(migrations.Migration):
         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),
         ),
     ]