summaryrefslogtreecommitdiff
path: root/testapp/exam
diff options
context:
space:
mode:
authorhardythe12012-03-19 14:35:56 +0530
committerhardythe12012-03-19 14:35:56 +0530
commit0e6e72fb37f1a586728c997cd5e9c5fadf794823 (patch)
treedcf5891a15d2a8e1b2293936ae88e8df4e066936 /testapp/exam
parent1387db498369739d7637cea7601af86135b7f40a (diff)
downloadonline_test-0e6e72fb37f1a586728c997cd5e9c5fadf794823.tar.gz
online_test-0e6e72fb37f1a586728c997cd5e9c5fadf794823.tar.bz2
online_test-0e6e72fb37f1a586728c997cd5e9c5fadf794823.zip
Changes in the Gradeuser Page
Diffstat (limited to 'testapp/exam')
-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 d0e3ddc..0504bde 100644
--- a/testapp/exam/views.py
+++ b/testapp/exam/views.py
@@ -493,7 +493,8 @@ def show_all_users(request):
if not user.is_authenticated() or user.groups.filter(name='moderator').count() == 0:
raise Http404('You are not allowed to view this page !')
user = User.objects.filter(username__contains="")
- context = { 'user':user }
+ questionpaper = QuestionPaper.objects.all()
+ context = { 'question': questionpaper }
print context
return my_render_to_response('exam/showusers.html',context,context_instance=RequestContext(request))