default to cover of textbook
This commit is contained in:
@@ -5,7 +5,7 @@ import os
|
||||
from django.conf import settings
|
||||
from django.http import Http404
|
||||
|
||||
def index(request, page=1):
|
||||
def index(request, page=0):
|
||||
if not request.user.is_authenticated():
|
||||
return redirect('/')
|
||||
return render_to_response('staticbook.html',{'page':int(page)})
|
||||
|
||||
Reference in New Issue
Block a user