diff -r 885ee4edbf7d -r 27e0bc9425a2 sdi/views.py --- a/sdi/views.py Mon Jul 26 18:51:24 2010 +0530 +++ b/sdi/views.py Mon Jul 26 19:07:00 2010 +0530 @@ -152,7 +152,7 @@ not_selected_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="1") user_choices = list(not_selected_ppl) + list(not_confirmed_ppl) - form = SendAccoForm(user_choices, request.POST) + form = UserSelectForm(user_choices, request.POST) if request.method == "POST" and form.is_valid(): selected_users = form.cleaned_data['selected_users'] @@ -184,7 +184,7 @@ registrantinfo__status_of_accomodation="1") user_choices = list(rejected_ppl) + list(not_selected_ppl) - form = UserSelectForm(user_choices, request.POST) + form = SendAccoForm(user_choices, request.POST) if request.method == "POST" and form.is_valid(): selected_users = form.cleaned_data['selected_users']