--- 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})
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/attending_wsp.html Fri Jul 16 10:29:25 2010 +0530
@@ -0,0 +1,8 @@
+{% extends 'base.html' %}
+{% block title %}
+Thankyou
+{% endblock %}
+{% block content %}
+Thank you for confirming your participation in the Python workshop.
+{% endblock %}
+