--- a/sdi/views.py Sat Jul 17 01:05:47 2010 +0530
+++ b/sdi/views.py Sat Jul 17 01:08:40 2010 +0530
@@ -168,7 +168,7 @@
raise Http404
user_info = user.registrantinfo_set.all()[0]
- status = user_info.status_of_attending_sagedays
+ status = user_info.status_of_attending_workshop
if status == "3":
return render_to_response("attending_wsp.html")
elif status != "2":
@@ -206,7 +206,7 @@
status = user_info.status_of_attending_sagedays
if status == "3":
return render_to_response("attending_sgd.html")
- elif status != 2:
+ elif status != "2":
raise Http404
if request.method == "POST":