diff options
author | jayparikh111 | 2012-03-13 18:44:01 +0530 |
---|---|---|
committer | jayparikh111 | 2012-03-13 18:44:01 +0530 |
commit | a7c84a478789e9e835dcbb3ea41b1d519ba69b4d (patch) | |
tree | fc879bdd0b0eb58817275c0837126a06be81f96e /testapp/exam/views.py | |
parent | 87862b8c8d7822a4578b5cb5f413bedb37454bd2 (diff) | |
download | online_test-a7c84a478789e9e835dcbb3ea41b1d519ba69b4d.tar.gz online_test-a7c84a478789e9e835dcbb3ea41b1d519ba69b4d.tar.bz2 online_test-a7c84a478789e9e835dcbb3ea41b1d519ba69b4d.zip |
minor changes for UI
Diffstat (limited to 'testapp/exam/views.py')
-rw-r--r-- | testapp/exam/views.py | 3 |
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): |