sdi/views.py
branchanoop
changeset 138 c9ae768c55b7
parent 137 02a5304a2c5f
child 139 7eaaecef80f6
equal deleted inserted replaced
137:02a5304a2c5f 138:c9ae768c55b7
   228         participant_info.save()
   228         participant_info.save()
   229 
   229 
   230         user_info.status_of_attending_sagedays = "3"
   230         user_info.status_of_attending_sagedays = "3"
   231         user_info.save()
   231         user_info.save()
   232 
   232 
   233         return render_to_response("attending_sgd.html")
   233         acco_required = user.acco_required
       
   234 
       
   235         return render_to_response("attending_sgd.html", {"acco_required":acco_required})
   234     else:
   236     else:
   235         return render_to_response("cnf_sgd_ptc.html", {"user":user})
   237         return render_to_response("cnf_sgd_ptc.html", {"user":user})
   236 
   238 
   237 
   239 
   238 def admin_login(request):
   240 def admin_login(request):