X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/21cd47e315b2e86edeff93bac5d1eca5b5d2c428..cd330644503795289b6402e3622b5768b2ebed6c:/src/documents/models/book.py?ds=sidebyside 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',