On Mon, Sep 14, 2009 at 1:38 PM, Randy Barlow <rbar...@americanri.com>wrote:
> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > about2flip declared: > > File "E:\djproj\ifriends\..\ifriends\People\models.py", line 8 > > def_str_(self): > > ^ > > SyntaxError: invalid syntax > > Looks like you are missing a space between def and __str__(self). > Should be: > > def __str__(self): > > - -- > Randy Barlow > Software Developer > The American Research Institute > http://americanri.com > 919.228.4971 Oh ya I missed that bit. Double the underscores before and after too. --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---