hmm... strange... the __unicode__ thing is nothing django-specific. It works in plain python as well:
It's supposed to work like this: >>> class TestClass(object): ... def __unicode__(self): ... return "unicode" ... def __repr__(self): ... return "buh" ... def __str__(self): ... return "str" ... >>> o=TestClass() >>> o buh >>> print o str >>> print unicode(o) unicode >>> 2011/5/17 maaz muqri <mmu...@mshahtech.com>: > im just getting "Poll object" as output -- 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.