The problem is, I think, that you're trying to insert a non-ascii string, inside an ascii string:
def __unicode__(self): return 'name: {0}, url: {1}'.format(self.name, self.url) Probably, self.name is an unicode string, and you're trying to put it on a non-unicode string. Try this: def __unicode__(self): return u'name: {0}, url: {1}'.format(self.name, self.url) It may work. If it doesn't look for "smart_unicode" and "force_unicode" Django functions. Regards 2011/2/22 Alexander Bolotnov <abolot...@gmail.com> > I fixed this by change the unicode to return self.name - but why was this > failing anyway? > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To post to this group, send email to django-developers@googlegroups.com. > To unsubscribe from this group, send email to > django-developers+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-developers?hl=en. > -- Pablo Recio Quijano Desarrollador Django Yaco Sistemas - http://www.yaco.es/ -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.