summaryrefslogtreecommitdiff
path: root/testapp/exam/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/exam/views.py')
-rw-r--r--testapp/exam/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testapp/exam/views.py b/testapp/exam/views.py
index 2803538..ffb1b1e 100644
--- a/testapp/exam/views.py
+++ b/testapp/exam/views.py
@@ -246,7 +246,8 @@ def prof_manage(request):
user = request.user
if user.is_authenticated() and user.groups.filter(name='moderator').count() > 0:
- return render_to_response('manage.html',{})
+ context = {'user':user}
+ return render_to_response('manage.html',context)
return my_redirect('/exam/login/')
def user_login(request):