summaryrefslogtreecommitdiff
path: root/testapp/exam/views.py
diff options
context:
space:
mode:
authorHardik Ghaghada2013-04-29 11:05:39 +0530
committerHardik Ghaghada2013-04-29 11:05:39 +0530
commit216031440bfe304ad51013950f49e88258ed9fde (patch)
tree907b89d2c37ffcf1ba0d832a2fe2c6e12cef11cf /testapp/exam/views.py
parent5c7f66806e4be50985655b7c12bf3190ee91ae46 (diff)
downloadonline_test-216031440bfe304ad51013950f49e88258ed9fde.tar.gz
online_test-216031440bfe304ad51013950f49e88258ed9fde.tar.bz2
online_test-216031440bfe304ad51013950f49e88258ed9fde.zip
Added a separate textarea for non-editable code for snippet feature
Diffstat (limited to 'testapp/exam/views.py')
-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()