Opened 12 years ago
Closed 12 years ago
#20710 closed Uncategorized (invalid)
Objects not displaying properly in Django 1.5 using Python 3.3
Description ¶
Even after specifying a unicode method for my models, in the admin site, it shows them as generic "Item object" types. Rechecked using Python 2.7.3 and Django 1.5 and the display is fine.
Note:
See TracTickets
for help on using tickets.
On Python 3, you should implement
__str__()
rather than__unicode__()
-- see the note under this heading: https://docs.djangoproject.com/en/dev/ref/models/instances/#other-model-instance-methods