Thank you very much! You guys rock.

Jason

On May 14, 11:11 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Wed, May 14, 2008 at 11:05 PM, Jason Ourscene <[EMAIL PROTECTED]> wrote:
>
> > First i had my python issue, got that settled and now in the first
> > django tutorial I create my poll model and add the def __unicode__
> > method and im getting an error. heres the code, and the error:
>
> > Code:http://pastie.textmate.org/197323
> > and my error:http://pastie.textmate.org/197324
>
> > Let me know what you guys think.
>
> File "/Users/jasoncalleiro/Sites/mysite/../mysite/polls/models.py", line 6
> def __unicode__(self):
> ^
> IndentationError: unexpected indent
>
> means your code is not indented properly for Python.  The def should like up
> with the code above it, not be indented one more level.
>
> 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