X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5c05e41cfb2907f6621833a8f673d66bfcac2699..8676651fe1b1de0e033e644ddb93c53f8c9402d0:/apps/catalogue/views.py?ds=sidebyside 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