sdi/views.py
branchanoop
changeset 201 e272a7fcdbaa
parent 193 9b2a63bb8d16
child 202 9ee78481e7cd
equal deleted inserted replaced
200:16afdd7baa9d 201:e272a7fcdbaa
   227     if status == "3":
   227     if status == "3":
   228         return render_to_response("attending_sgd.html", {"user":user})
   228         return render_to_response("attending_sgd.html", {"user":user})
   229     elif status != "2":
   229     elif status != "2":
   230         raise Http404
   230         raise Http404
   231 
   231 
       
   232     if uid < 157:
       
   233         return render_to_response("late_for_confirmation.html", {"user":user})
       
   234 
   232     participant_info = ParticipantInfo()
   235     participant_info = ParticipantInfo()
   233     participant_info.participant = user
   236     participant_info.participant = user
   234 
   237 
   235     form = ParticipantInfoForm(request.POST)
   238     form = ParticipantInfoForm(request.POST)
   236     if request.method == "POST" and form.is_valid():
   239     if request.method == "POST" and form.is_valid():