Commit 91d083f8 by Piotr Mitros

Default page is now course updates/info

parent c52727b0
...@@ -28,7 +28,7 @@ def csrf_token(context): ...@@ -28,7 +28,7 @@ def csrf_token(context):
@ensure_csrf_cookie @ensure_csrf_cookie
def index(request): def index(request):
if settings.COURSEWARE_ENABLED and request.user.is_authenticated(): if settings.COURSEWARE_ENABLED and request.user.is_authenticated():
return redirect('/courseware') return redirect('/info')
else: else:
csrf_token = csrf(request)['csrf_token'] csrf_token = csrf(request)['csrf_token']
# TODO: Clean up how 'error' is done. # TODO: Clean up how 'error' is done.
......
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