X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/e977f7187b10b1bc0a30794cd585c6b840568996..bbc0bb7c3658a020da0a291249cc3da71a57bf9a:/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)