sdi/views.py
branchanoop
changeset 107 9fd140628988
parent 106 39b0b9a71778
child 108 9363e5121f9b
--- a/sdi/views.py	Fri Jul 16 10:39:55 2010 +0530
+++ b/sdi/views.py	Fri Jul 16 10:45:01 2010 +0530
@@ -153,7 +153,7 @@
             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.has_laptop_for_workshop = True if has_laptop == "True" else False
         user_info.save()
 
         return render_to_response("attending_wsp.html")