summaryrefslogtreecommitdiff
path: root/testapp/exam
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/exam')
-rw-r--r--testapp/exam/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testapp/exam/views.py b/testapp/exam/views.py
index 5a5f5fe..0767d67 100644
--- a/testapp/exam/views.py
+++ b/testapp/exam/views.py
@@ -476,8 +476,8 @@ def automatic_questionpaper(request, questionpaper_id=None):
context = {'data': {'questions': fetched_questions,
'tags': tags,
'msg': msg}}
- return my_render_to_response\(
- 'exam/automatic_questionpaper.html', context,
+ return my_render_to_response\
+ ('exam/automatic_questionpaper.html', context,
context_instance=RequestContext(request))
else:
tags = Tag.objects.all()