Of course. I just look at the error actually occurs on, not the
context. I guess even Python's awesome debugging still has limits.
What happened was that I forgot a parenthesis at the end of the
previous line. Thanks for giving me the tip.

On Aug 30, 9:57 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Sat, Aug 30, 2008 at 9:50 AM, Leaf <[EMAIL PROTECTED]> wrote:
>
> > I'm having a problem when I try to validate my models. The interpreter
> > somehow takes offense at this line:
>
> >    box_text_color = models.ColorField("Box Text Color")
>
> > I'm using a custom "ColorField" here. What I don't understand is that
> > it seems almost identical to this ColorField, which it did accept:
>
> >    bg_color = models.ColorField("Background Color")
>
> > When it rejected it, the flow looked like this:
>
> >  File "/Users/leaf/Django/devsite/../devsite/djstyles/models.py",
> > line 47
> >    box_text_color = models.ColorField("Box Text Color")
> >                        ^
> > SyntaxError: invalid syntax
>
> > The caret was pointing at the r in "box_text_color". Does anyone know
> > how this could have happened?
>
> What's on the line above that?  That's probably where the trouble begins.
>
> Karen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to