sdi/views.py
branchanoop
changeset 106 39b0b9a71778
parent 104 7630d7f3613a
child 107 9fd140628988
--- 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})