From 480fc524eaffa99bbcec65b0829f6116ccace673 Mon Sep 17 00:00:00 2001 From: jayparikh111 Date: Thu, 15 Mar 2012 18:12:49 +0530 Subject: minor UI changes --- testapp/exam/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testapp/exam/views.py') 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] -- cgit