sdi/views.py
branchanoop
changeset 206 f2d738abba0d
parent 205 3381ac722e36
child 210 9dde8b1de561
--- a/sdi/views.py	Mon Aug 02 21:06:34 2010 +0530
+++ b/sdi/views.py	Mon Aug 02 21:23:37 2010 +0530
@@ -229,7 +229,8 @@
     elif status != "2":
         raise Http404
 
-    if int(uid) < 157 and (int(uid)!=150 or int(uid)!=151):
+    special_request = [150,151]
+    if int(uid) < 157 and int(uid) not in special_request:
         return render_to_response("late_for_confirmation.html", {"user":user})
 
     participant_info = ParticipantInfo()