sdi/views.py
branchanoop
changeset 148 f986e4fee615
parent 146 a18ba6b30c43
child 149 1f53ccd82a21
equal deleted inserted replaced
147:76935f280a4d 148:f986e4fee615
   232 
   232 
   233         return render_to_response("attending_sgd.html", {"user":user})
   233         return render_to_response("attending_sgd.html", {"user":user})
   234     else:
   234     else:
   235         return render_to_response("cnf_sgd_ptc.html", {"user":user})
   235         return render_to_response("cnf_sgd_ptc.html", {"user":user})
   236 
   236 
   237 
       
   238 def admin_login(request):
   237 def admin_login(request):
   239     """ basic login.
   238     """ basic login.
   240     """
   239     """
   241 
   240 
   242     redirect_url = "/%s/registration/stats"%aup
   241     redirect_url = "/%s/registration/stats"%aup