sdi/views.py
branchanoop
changeset 174 d979d1bc1c4e
parent 172 32c2b57c45f8
child 176 faa42e8fa399
--- 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")