summaryrefslogtreecommitdiff
path: root/testapp/exam/views.py
diff options
context:
space:
mode:
authorjayparikh1112012-03-15 18:12:49 +0530
committerjayparikh1112012-03-15 18:12:49 +0530
commit480fc524eaffa99bbcec65b0829f6116ccace673 (patch)
tree6080434cef6c15db391277f73342ceb9a776e86f /testapp/exam/views.py
parenta7c84a478789e9e835dcbb3ea41b1d519ba69b4d (diff)
downloadonline_test-480fc524eaffa99bbcec65b0829f6116ccace673.tar.gz
online_test-480fc524eaffa99bbcec65b0829f6116ccace673.tar.bz2
online_test-480fc524eaffa99bbcec65b0829f6116ccace673.zip
minor UI changes
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 ffb1b1e..d0e3ddc 100644
--- a/testapp/exam/views.py
+++ b/testapp/exam/views.py
@@ -129,8 +129,8 @@ def edit_question(request):
type = request.POST.getlist('type')
active = request.POST.getlist('active')
j = 0
- for i in editquestionlist:
- question = Question.objects.get(id=i)
+ for id_list in editquestionlist:
+ question = Question.objects.get(id=id_list)
question.summary = summary[j]
question.description = description[j]
question.points = points[j]