Placeholder pages for TOS, privacy, honor code

This commit is contained in:
Piotr Mitros
2012-01-20 14:58:32 -05:00
parent 1b4d400cdd
commit bddfe16e37

View File

@@ -8,7 +8,12 @@ from django.shortcuts import redirect
from django.core.context_processors import csrf
#valid_templates=['index.html', 'staff.html', 'info.html', 'credits.html']
valid_templates=['mitx_global.html', 'index.html']
valid_templates=['mitx_global.html',
'index.html',
'tos.html',
'privacy.html',
'honor.html',
'copyright.html']
def index(request, template):
csrf_token = csrf(request)['csrf_token']