fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes #4191: backward search.
[redakcja.git]
/
src
/
documents
/
models
/
book.py
diff --git
a/src/documents/models/book.py
b/src/documents/models/book.py
index
e16de68
..
75e707e
100644
(file)
--- 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,
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',
editable=False, db_index=True,
related_name='document_books',
related_query_name='document_book',