sdi/views.py
branchanoop
changeset 113 b0c34801022a
parent 112 3cf5f668fca5
child 114 aa5c29984e84
--- a/sdi/views.py	Fri Jul 16 19:05:11 2010 +0530
+++ b/sdi/views.py	Fri Jul 16 23:55:36 2010 +0530
@@ -134,7 +134,7 @@
     not_confirmed_ppl = Registrant.objects.filter(need_for_python_workshop=True, registrantinfo__status_of_attending_sagedays ="2")
     not_selected_ppl = Registrant.objects.filter(need_for_python_workshop=True, registrantinfo__status_of_attending_sagedays ="1")
 
-    user_choices = list(attending_ppl) + list(not_confirmed_ppl)
+    user_choices = list(not_attending_ppl) + list(not_confirmed_ppl)
     form = UserSelectForm(user_choices, request.POST)
 
     if request.method == "POST" and form.is_valid():