It appears as though when using Python3.3 and Django 1.6dev you should use
__str__ and not __unicode__. __unicode__ seems to be gone from Python3.3
On Tuesday, February 12, 2013 4:45:33 PM UTC-5, David wrote:
>
> I am working through the tutorial and find that the *def
> __unicode__(self):* com
On Wed, Feb 13, 2013 at 9:45 AM, David wrote:
> I am working through the tutorial and find that the *def
> __unicode__(self):* command to give an object a readable name in admin is
> not working. I am cutting code from the tutorial. When I access the
> detail screen in /admin/ all I see is [tab
I am working through the tutorial and find that the *def
__unicode__(self):*command to give an object a readable name in admin is not
working. I am
cutting code from the tutorial. When I access the detail screen in /admin/
all I see is [table name] object and not the name I defined in def
__
3 matches
Mail list logo