Hi, I'm new to Django. I just followed the tutorial - Poll example (http://www.djangoproject.com/documentation/tutorial01/) . It said that adding __unicode__() to models may change object's representations, but don't know why that doesn't take effect on my computer. Run "Poll.objects.all()" in shell still gave me "[(Poll: Poll object)]" back, but if I change __unicode__() to __str__(), everything works fine(I'm not sure with really unicode char), any idea? Thanks.
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---