X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/21cd47e315b2e86edeff93bac5d1eca5b5d2c428..883ff4f05600c543ac92a47416fcef3ac1f1f98b:/src/documents/migrations/0005_auto_20201102_1340.py 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), ), ]