Re: Python Conditional help

2009-08-01 Thread prabhu S
Also declare dan_id and stu_id as string. Unless request.GET can magically return you number, which I am not sure. Looks we are doing compilers job here :) On Aug 2, 1:17 am, Alex Gaynor wrote: > On Sat, Aug 1, 2009 at 6:59 PM, prabhu S wrote: > > >

Re: Python Conditional help

2009-08-01 Thread Alex Gaynor
On Sat, Aug 1, 2009 at 6:59 PM, prabhu S wrote: > > change student_id_validate to student_id_check > > Invalid variable dude. > > On Aug 2, 12:46 am, cprsystems wrote: >> I'm trying to redirect users of an html page to another page depending >> on the

Re: Python Conditional help

2009-08-01 Thread prabhu S
change student_id_validate to student_id_check Invalid variable dude. On Aug 2, 12:46 am, cprsystems wrote: > I'm trying to redirect users of an html page to another page depending > on the user id entered. I'm using if else statements and declaring ids > within views.py

Python Conditional help

2009-08-01 Thread cprsystems
I'm trying to redirect users of an html page to another page depending on the user id entered. I'm using if else statements and declaring ids within views.py named htmlp2. I keep getting syntax errors, any insight as to why would be much appreciated. My code is below Thank you from