Re: Syntax error: "can't assign to operator"

2008-07-07 Thread bruno desthuilliers
On 5 juil, 04:33, Leaf <[EMAIL PROTECTED]> wrote: > Okay. I'll run a quick find-and-replace to set all my identifiers to > use underscores instead of hyphens. I'm not that familiar with Python, > so I assumed that it would recognize hyphens as a seperator and not a > minus sign. There are very f

Re: Syntax error: "can't assign to operator"

2008-07-04 Thread Leaf
Style(models.Model): > >     Style-Name = models.CharField("Style Name", Max_length = 32, > > Default = "Styles Upon Styles", Help_text = "A user-friendly name for > > the style.") > > > Before resyncing the database, I hit the "Check Syn

Re: Syntax error: "can't assign to operator"

2008-07-04 Thread Malcolm Tredinnick
els.CharField("Style Name", Max_length = 32, > Default = "Styles Upon Styles", Help_text = "A user-friendly name for > the style.") > > Before resyncing the database, I hit the "Check Syntax" button in > PythonWin, and it returned "syntax

Syntax error: "can't assign to operator"

2008-07-04 Thread Leaf
s Upon Styles", Help_text = "A user-friendly name for the style.") Before resyncing the database, I hit the "Check Syntax" button in PythonWin, and it returned "syntax error - can't assign to operator (models.py, line 37)". Line 37 is the one beginning with St