162 |
162 |
163 def send_acco_confirm(request): |
163 def send_acco_confirm(request): |
164 """ display list of confirmed participants who requested for accomodation |
164 """ display list of confirmed participants who requested for accomodation |
165 and let the admin decide. |
165 and let the admin decide. |
166 """ |
166 """ |
167 pass |
167 |
|
168 rejected_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="3", |
|
169 registrantinfo__status_of_accomodation="4") |
|
170 selected_not_confirmed_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="3", |
|
171 registrantinfo__status_of_accomodation="2") |
|
172 selected_confirmed_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="3", |
|
173 registrantinfo__status_of_accomodation="3") |
|
174 not_selected_ppl = Registrant.objects.filter(registrantinfo__status_of_attending_sagedays ="3", |
|
175 registrantinfo__status_of_accomodation="4") |
|
176 |
|
177 user_choices = list(rejected_ppl) + list(selected_not_confirmed_ppl) + list(not_selected_ppl) |
|
178 form = UserSelectForm(user_choices, request.POST) |
|
179 |
|
180 if request.method == "POST" and form.is_valid(): |
|
181 pass |
|
182 else: |
|
183 return render_to_response("send_acco_cnf.html", {"rejected": rejected_ppl, |
|
184 "selected_not_confirmed":selected_not_confirmed_ppl, |
|
185 "selected_confirmed":selected_confirmed_ppl, |
|
186 "not_selected":not_confirmed_ppl, |
|
187 }) |
|
188 |
|
189 |
|
190 |
168 |
191 |
169 def confirm_wsp_participation(request, uid): |
192 def confirm_wsp_participation(request, uid): |
170 """ match id versus email and take lappy details. |
193 """ match id versus email and take lappy details. |
171 """ |
194 """ |
172 |
195 |