--- a/sdi/models.py Fri Jul 23 17:48:02 2010 +0530
+++ b/sdi/models.py Mon Jul 26 17:38:50 2010 +0530
@@ -56,8 +56,7 @@
("0", "Does not need a workshop"))
ACCO_CHOICES = (("4", "Has requested but request has been rejected"),
- ("3", "Has been given accomodation and has confirmed the stay"),
- ("2", "Has been given acco but not confirmed yet"),
+ ("3", "Has been given accomodation"),
("1", "Has requested for accomodation"),
("0", "Does not need acco"))
--- a/sdi/views.py Fri Jul 23 17:48:02 2010 +0530
+++ b/sdi/views.py Mon Jul 26 17:38:50 2010 +0530
@@ -170,6 +170,7 @@
"not_selected":not_selected_ppl,
})
+@login_required
def send_acco_confirm(request):
""" display list of confirmed participants who requested for accomodation
and let the admin decide.
@@ -177,9 +178,7 @@
rejected_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="3",
registrantinfo__status_of_accomodation="4")
- selected_not_confirmed_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="3",
- registrantinfo__status_of_accomodation="2")
- selected_confirmed_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="3",
+ selected_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="3",
registrantinfo__status_of_accomodation="3")
not_selected_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="3",
registrantinfo__status_of_accomodation="1")