diff -r dec4a9b61534 -r a18ba6b30c43 sdi/views.py --- 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)