X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/e977f7187b10b1bc0a30794cd585c6b840568996..1aaa2260767069a2265ceefd73f55e8270c84a1f:/src/documents/views.py diff --git a/src/documents/views.py b/src/documents/views.py index 397d78bd..05f8853f 100644 --- 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): - 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)