equal
deleted
inserted
replaced
132 |
132 |
133 attending_ppl = Registrant.objects.filter(need_for_python_workshop=True, registrantinfo__status_of_attending_sagedays ="3") |
133 attending_ppl = Registrant.objects.filter(need_for_python_workshop=True, registrantinfo__status_of_attending_sagedays ="3") |
134 not_confirmed_ppl = Registrant.objects.filter(need_for_python_workshop=True, registrantinfo__status_of_attending_sagedays ="2") |
134 not_confirmed_ppl = Registrant.objects.filter(need_for_python_workshop=True, registrantinfo__status_of_attending_sagedays ="2") |
135 not_selected_ppl = Registrant.objects.filter(need_for_python_workshop=True, registrantinfo__status_of_attending_sagedays ="1") |
135 not_selected_ppl = Registrant.objects.filter(need_for_python_workshop=True, registrantinfo__status_of_attending_sagedays ="1") |
136 |
136 |
137 user_choices = list(not_attending_ppl) + list(not_confirmed_ppl) |
137 user_choices = list(not_selected_ppl) + list(not_confirmed_ppl) |
138 form = UserSelectForm(user_choices, request.POST) |
138 form = UserSelectForm(user_choices, request.POST) |
139 |
139 |
140 if request.method == "POST" and form.is_valid(): |
140 if request.method == "POST" and form.is_valid(): |
141 selected_users = form.cleaned_data['selected_users'] |
141 selected_users = form.cleaned_data['selected_users'] |
142 for user in selected_users: |
142 for user in selected_users: |