Commit c4f484c4 by Piotr Mitros

Security issue

parent 881a57e3
......@@ -6,4 +6,6 @@ from django.conf import settings
from django.http import Http404
def index(request, page=1):
if not request.user.is_authenticated():
return redirect('/')
return render_to_response('staticbook.html',{'page':int(page)})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment