# HG changeset patch # User nishanth # Date 1279257301 -19800 # Node ID 9fd1406289885cbc7050bf63f6a4fb080321db7c # Parent 39b0b9a71778680d7e5fe2c29447ac7fe7f3d25c fixed a bug diff -r 39b0b9a71778 -r 9fd140628988 sdi/views.py --- 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")