X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/1227b1201c537ea17e310f0faab4ead7cf0d25af..a5d97184b87b72f8fb964c862af0f54f3ef788c1:/src/catalogue/views.py diff --git a/src/catalogue/views.py b/src/catalogue/views.py index cfed6ca4e..66a2b91b0 100644 --- a/src/catalogue/views.py +++ b/src/catalogue/views.py @@ -319,7 +319,7 @@ def book_text(request, slug): return render(request, 'catalogue/book_text.html', { 'book': book, 'book_text': book_text, - 'inserts': DynamicTextInsert.objects.all() + 'inserts': DynamicTextInsert.get_all(request) })