sdi/views.py
branchanoop
changeset 146 a18ba6b30c43
parent 144 cb81b0f7e707
child 148 f986e4fee615
--- a/sdi/views.py	Tue Jul 20 13:10:05 2010 +0530
+++ b/sdi/views.py	Tue Jul 20 13:18:40 2010 +0530
@@ -137,9 +137,9 @@
     """ filter out ppl depending on their status and display accordingly.
     """
 
-    attending_ppl = Registrant.objects.filter(need_for_python_workshop=True, registrantinfo__status_of_attending_sagedays ="3")
-    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")
+    attending_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="3")
+    not_confirmed_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="2")
+    not_selected_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="1")
 
     user_choices = list(not_selected_ppl) + list(not_confirmed_ppl)
     form = UserSelectForm(user_choices, request.POST)