equal
deleted
inserted
replaced
179 |
179 |
180 if request.method == "POST" and form.is_valid(): |
180 if request.method == "POST" and form.is_valid(): |
181 selected_users = form.cleaned_data['selected_users'] |
181 selected_users = form.cleaned_data['selected_users'] |
182 for user in selected_users: |
182 for user in selected_users: |
183 user_info = user.registrantinfo_set.all()[0] |
183 user_info = user.registrantinfo_set.all()[0] |
184 user_info.status_of_workshop = "2" |
184 user_info.status_of_accomodation = "2" |
185 user_info.save() |
185 user_info.save() |
186 |
186 |
187 return render_to_response("sent_sgd_confirm.html", {"selected_users":selected_users}) |
187 return render_to_response("sent_sgd_confirm.html", {"selected_users":selected_users}) |
188 else: |
188 else: |
189 return render_to_response("send_acco_cnf.html", {"rejected": rejected_ppl, |
189 return render_to_response("send_acco_cnf.html", {"rejected": rejected_ppl, |