Commit 4239a0b3 by David Ormsbee Committed by Matthew Mongeau

add courses to front page

parent 014109ab
......@@ -42,7 +42,8 @@ def index(request):
else:
csrf_token = csrf(request)['csrf_token']
# TODO: Clean up how 'error' is done.
return render_to_response('index.html', {'csrf': csrf_token })
return render_to_response('index.html', {'courses' : settings.COURSES,
'csrf': csrf_token })
@ensure_csrf_cookie
def dashboard(request):
......
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