--- a/sdi/views.py Mon Jul 26 17:49:47 2010 +0530
+++ b/sdi/views.py Mon Jul 26 18:02:24 2010 +0530
@@ -183,7 +183,7 @@
not_selected_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="3",
registrantinfo__status_of_accomodation="1")
- user_choices = list(rejected_ppl) + list(selected_ppl) + list(not_selected_ppl)
+ user_choices = list(rejected_ppl) + list(not_selected_ppl)
form = UserSelectForm(user_choices, request.POST)
if request.method == "POST" and form.is_valid():
@@ -192,6 +192,8 @@
user_info = user.registrantinfo_set.all()[0]
user_info.status_of_accomodation = "2"
user_info.save()
+
+ message = form.cleaned_data['message']
return render_to_response("sent_acco_confirm.html", {"selected_users":selected_users})
else: