Commit 6c1a7ce6 by fischerl

default to cover of textbook

parent 84794a23
...@@ -5,7 +5,7 @@ import os ...@@ -5,7 +5,7 @@ import os
from django.conf import settings from django.conf import settings
from django.http import Http404 from django.http import Http404
def index(request, page=1): def index(request, page=0):
if not request.user.is_authenticated(): if not request.user.is_authenticated():
return redirect('/') return redirect('/')
return render_to_response('staticbook.html',{'page':int(page)}) 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