sdi/views.py
branchanoop
changeset 202 9ee78481e7cd
parent 201 e272a7fcdbaa
child 205 3381ac722e36
equal deleted inserted replaced
201:e272a7fcdbaa 202:9ee78481e7cd
   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:
   232     if int(uid) < 157:
   233         return render_to_response("late_for_confirmation.html", {"user":user})
   233         return render_to_response("late_for_confirmation.html", {"user":user})
   234 
   234 
   235     participant_info = ParticipantInfo()
   235     participant_info = ParticipantInfo()
   236     participant_info.participant = user
   236     participant_info.participant = user
   237 
   237