X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/21cd47e315b2e86edeff93bac5d1eca5b5d2c428..2b4f30c6225a2dfd00afcf42feccac13ca199e01:/src/documents/models/book.py diff --git a/src/documents/models/book.py b/src/documents/models/book.py index e16de686..75e707e8 100644 --- a/src/documents/models/book.py +++ b/src/documents/models/book.py @@ -45,6 +45,7 @@ class Book(models.Model): models.DO_NOTHING, to_field='slug', null=True, blank=True, + db_constraint=False, editable=False, db_index=True, related_name='document_books', related_query_name='document_book',