From 0e6e72fb37f1a586728c997cd5e9c5fadf794823 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Mon, 19 Mar 2012 14:35:56 +0530 Subject: Changes in the Gradeuser Page --- testapp/exam/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testapp/exam') 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)) -- cgit