X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5c05e41cfb2907f6621833a8f673d66bfcac2699..f358d7768f7f0c73358b712e0e37c100843091d4:/apps/catalogue/views.py diff --git a/apps/catalogue/views.py b/apps/catalogue/views.py index 7168fb05d..9ae50515d 100644 --- a/apps/catalogue/views.py +++ b/apps/catalogue/views.py @@ -176,7 +176,6 @@ def user_shelves(request): return render_to_response('catalogue/user_shelves.html', locals(), context_instance=RequestContext(request)) -@login_required @cache.never_cache def book_sets(request, slug): book = get_object_or_404(models.Book, slug=slug) @@ -272,8 +271,7 @@ def new_set(request): else: return HttpResponseRedirect('/') - return render_to_response('catalogue/book_sets.html', locals(), - context_instance=RequestContext(request)) + return HttpResponseRedirect('/') @login_required