branch | anoop |
changeset 104 | 7630d7f3613a |
parent 102 | ef0012eb7695 |
child 106 | 39b0b9a71778 |
--- a/sdi/views.py Fri Jul 16 10:24:01 2010 +0530 +++ b/sdi/views.py Fri Jul 16 10:29:25 2010 +0530 @@ -147,7 +147,12 @@ raise Http404 if request.method == "POST": - pass + try: + has_laptop = request.POST['lap_status'] + except MultiValueDictKeyError: + return render_to_response("cnf_wsp_ptc.html", {"user":user}) + + return render_to_response("attending_wsp.html") else: return render_to_response("cnf_wsp_ptc.html", {"user":user})