sdi/views.py
branchanoop
changeset 161 c7c5c727a483
parent 160 2f01af211af9
child 162 27dd4494e7b4
--- a/sdi/views.py	Thu Jul 22 19:34:24 2010 +0530
+++ b/sdi/views.py	Thu Jul 22 19:50:36 2010 +0530
@@ -129,7 +129,7 @@
     form = UserSelectForm(choices, request.POST)
     if request.method == "POST" and form.is_valid():
         selected_users = form.cleaned_data['selected_users']
-        for u in selected_users:
+        for user in selected_users:
             user_info = user.registrantinfo_set.all()[0]
             user_info.status_of_attending_workshop = "2"
             user_info.save()