sdi/views.py
branchanoop
changeset 206 f2d738abba0d
parent 205 3381ac722e36
child 210 9dde8b1de561
equal deleted inserted replaced
205:3381ac722e36 206:f2d738abba0d
   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 int(uid) < 157 and (int(uid)!=150 or int(uid)!=151):
   232     special_request = [150,151]
       
   233     if int(uid) < 157 and int(uid) not in special_request:
   233         return render_to_response("late_for_confirmation.html", {"user":user})
   234         return render_to_response("late_for_confirmation.html", {"user":user})
   234 
   235 
   235     participant_info = ParticipantInfo()
   236     participant_info = ParticipantInfo()
   236     participant_info.participant = user
   237     participant_info.participant = user
   237 
   238