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