Commit bddfe16e by Piotr Mitros

Placeholder pages for TOS, privacy, honor code

parent 1b4d400c
...@@ -8,7 +8,12 @@ from django.shortcuts import redirect ...@@ -8,7 +8,12 @@ from django.shortcuts import redirect
from django.core.context_processors import csrf from django.core.context_processors import csrf
#valid_templates=['index.html', 'staff.html', 'info.html', 'credits.html'] #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): def index(request, template):
csrf_token = csrf(request)['csrf_token'] csrf_token = csrf(request)['csrf_token']
......
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