sdi/views.py
branchanoop
changeset 138 c9ae768c55b7
parent 137 02a5304a2c5f
child 139 7eaaecef80f6
--- a/sdi/views.py	Tue Jul 20 12:16:50 2010 +0530
+++ b/sdi/views.py	Tue Jul 20 12:30:44 2010 +0530
@@ -230,7 +230,9 @@
         user_info.status_of_attending_sagedays = "3"
         user_info.save()
 
-        return render_to_response("attending_sgd.html")
+        acco_required = user.acco_required
+
+        return render_to_response("attending_sgd.html", {"acco_required":acco_required})
     else:
         return render_to_response("cnf_sgd_ptc.html", {"user":user})