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