Re: Newbie Question: Syntax Error - Form Class, trying to set e-mail field to required=False

2010-07-22 Thread strayhand
S. Thanks! I'm completely new to Python (guess I should have paid more attention to variable names). I might have tried removed the dash sooner but I was following how it was typed in the book. I'll have to file a type with the author. Thanks again. On Jul 22, 5:56 am, Simon Holness wrote: > "e-

Re: Newbie Question: Syntax Error - Form Class, trying to set e-mail field to required=False

2010-07-22 Thread Simon Holness
"e-mail" can't have a hyphen in it. Python thinks you're "assigning" to the operation e - mail just type into a shell to see. e-mail = "blah" SyntaxError: can't assign to operator rename to e_mail or email or something and you should be good to go On 22 July 2010 06:10, strayhand wrote: > I ap

Newbie Question: Syntax Error - Form Class, trying to set e-mail field to required=False

2010-07-22 Thread strayhand
I apologize in advance if i'm posting this question in the wrong area. I'm learning about django's form class in "The Definitive Guide To Django" and for some reason that's beyond me I keep getting a syntax error. I've been over my code a dozen times and I'm hoping that someone can point me in the