# HG changeset patch
# User nishanth
# Date 1279311281 -19800
# Node ID b5dfde8e43a9440faa39715ee4e24a5a8ee4c97e
# Parent 16b3557b426039db2d6798ff0453f39e97558a92
fixed a typo and improvised the view
diff -r 16b3557b4260 -r b5dfde8e43a9 sdi/views.py
--- a/sdi/views.py Sat Jul 17 01:42:30 2010 +0530
+++ b/sdi/views.py Sat Jul 17 01:44:41 2010 +0530
@@ -218,7 +218,11 @@
participant_info.has_laptop_for_sagedays = True if data['has_laptop'] == "Yes" else False
participant_info.sprinted_already = True if data['sprinted_already'] == "Yes" else False
participant_info.will_sprint = data['will_sprint']
- user_info.status_of_attending_sagedays
+ participant_info.save()
+
+ user_info.status_of_attending_sagedays = "3"
+ user_info.save()
+
return render_to_response("attending_sgd.html")
else:
return render_to_response("cnf_sgd_ptc.html", {"user":user})
diff -r 16b3557b4260 -r b5dfde8e43a9 templates/cnf_sgd_ptc.html
--- a/templates/cnf_sgd_ptc.html Sat Jul 17 01:42:30 2010 +0530
+++ b/templates/cnf_sgd_ptc.html Sat Jul 17 01:44:41 2010 +0530
@@ -12,8 +12,8 @@