--- a/sdi/views.py Fri Jul 16 23:55:36 2010 +0530
+++ b/sdi/views.py Sat Jul 17 00:00:31 2010 +0530
@@ -139,6 +139,11 @@
if request.method == "POST" and form.is_valid():
selected_users = form.cleaned_data['selected_users']
+ for user in selected_users:
+ user_info = user.registrantinto.all()[0]
+ user_info.status_of_attending_sagedays = "2"
+ user_info.save()
+
return render_to_response("sent_wsp_confirm.html", {"selected_users":selected_users})
else:
return render_to_response("send_sgd_cnf.html", {"attending":attending_ppl,
@@ -146,7 +151,6 @@
"not_selected":not_selected_ppl,
})
-
def confirm_wsp_participation(request, uid):
""" match id versus email and take lappy details.
"""