# HG changeset patch # User nishanth # Date 1279256995 -19800 # Node ID 39b0b9a71778680d7e5fe2c29447ac7fe7f3d25c # Parent 2e3fe11a3fcbd2084d0cd65afb5d610061e095ff confirm wsp_participation view is complete now diff -r 2e3fe11a3fcb -r 39b0b9a71778 sdi/views.py --- a/sdi/views.py Fri Jul 16 10:34:35 2010 +0530 +++ b/sdi/views.py Fri Jul 16 10:39:55 2010 +0530 @@ -152,6 +152,10 @@ except MultiValueDictKeyError: return render_to_response("cnf_wsp_ptc.html", {"user":user}) + user_info.status_of_attending_workshop = "3" + user_info.has_laptop_for_workshop = has_laptop + user_info.save() + return render_to_response("attending_wsp.html") else: return render_to_response("cnf_wsp_ptc.html", {"user":user}) diff -r 2e3fe11a3fcb -r 39b0b9a71778 templates/cnf_wsp_ptc.html --- a/templates/cnf_wsp_ptc.html Fri Jul 16 10:34:35 2010 +0530 +++ b/templates/cnf_wsp_ptc.html Fri Jul 16 10:39:55 2010 +0530 @@ -11,8 +11,8 @@ Are you bringing your own laptop: