# HG changeset patch # User nishanth # Date 1279309120 -19800 # Node ID dd1a4022d5b1501f09855e33804ec129e9532b52 # Parent 39cfefd9641c586fa9e901bd6305bfd97dbc1259 fixed a typo diff -r 39cfefd9641c -r dd1a4022d5b1 sdi/views.py --- a/sdi/views.py Sat Jul 17 01:05:47 2010 +0530 +++ b/sdi/views.py Sat Jul 17 01:08:40 2010 +0530 @@ -168,7 +168,7 @@ raise Http404 user_info = user.registrantinfo_set.all()[0] - status = user_info.status_of_attending_sagedays + status = user_info.status_of_attending_workshop if status == "3": return render_to_response("attending_wsp.html") elif status != "2": @@ -206,7 +206,7 @@ status = user_info.status_of_attending_sagedays if status == "3": return render_to_response("attending_sgd.html") - elif status != 2: + elif status != "2": raise Http404 if request.method == "POST":