--- a/sdi/views.py Tue Jul 20 12:30:44 2010 +0530
+++ b/sdi/views.py Tue Jul 20 12:37:30 2010 +0530
@@ -212,7 +212,7 @@
user_info = user.registrantinfo_set.all()[0]
status = user_info.status_of_attending_sagedays
if status == "3":
- return render_to_response("attending_sgd.html")
+ return render_to_response("attending_sgd.html", {"user":user})
elif status != "2":
raise Http404
@@ -230,9 +230,7 @@
user_info.status_of_attending_sagedays = "3"
user_info.save()
- acco_required = user.acco_required
-
- return render_to_response("attending_sgd.html", {"acco_required":acco_required})
+ return render_to_response("attending_sgd.html", {"user":user})
else:
return render_to_response("cnf_sgd_ptc.html", {"user":user})