#3924: Caught an exception while rendering: 'ascii' codec can't decode byte 0xc3 in position 8: ordinal not in range(128) --------------------------------------------+------------------------------- Reporter: ruben.pe...@gmail.com | Owner: hugo Status: closed | Milestone: Component: django.contrib.admin | Version: 1.0 Resolution: fixed | Keywords: Stage: Accepted | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | --------------------------------------------+------------------------------- Changes (by ramiro):
* status: reopened => closed * resolution: => fixed Comment: Replying to [comment:26 gnudiff]: > I can confirm the same error as of today, Django 1.0.2 final. Please don't reopen ticket that were fixed agains a very earlier version and are two-years old. If you, after asking in support channels like the mailing list, are sure it is a Django ticket and not a problem with your code, then open a new ticket. {{{ > def __unicode__(self): > return "%s %s" % (self.lastName,self.firstName) }}} You are supposed to return Unicode data from the `__unicode__` method. Try with `return u"%s %s" % (self.lastName,self.firstName)`. Restoring ticket status. -- Ticket URL: <http://code.djangoproject.com/ticket/3924#comment:27> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---