X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/21cd47e315b2e86edeff93bac5d1eca5b5d2c428..f3440f7131553b9cbf6d21683b09346bb74f3a66:/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), ), ]