fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix theme box selection and autocompletion.
[redakcja.git]
/
src
/
documents
/
views.py
diff --git
a/src/documents/views.py
b/src/documents/views.py
index
397d78b
..
05f8853
100644
(file)
--- a/
src/documents/views.py
+++ b/
src/documents/views.py
@@
-224,7
+224,7
@@
def book_xml(request, slug):
@never_cache
def book_xml_dc(request, slug):
@never_cache
def book_xml_dc(request, slug):
- book = get_object_or_404(Book,
dc_slug
=slug)
+ book = get_object_or_404(Book,
catalogue_book_id
=slug)
return serve_xml(request, book, slug)
return serve_xml(request, book, slug)