# HG changeset patch # User nishanth # Date 1279304736 -19800 # Node ID b0c34801022a5e0706bb448f8066d3ea267852cd # Parent 3cf5f668fca5c4079afc1a2463aa1acc6dc7a1a5 fixed a bug diff -r 3cf5f668fca5 -r b0c34801022a sdi/views.py --- 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():