Hi, I am newbe in django and I have got this Error
'coercing to Unicode: need string or buffer, Product found '
what's that mean? thank you for your attention
It means the __unicode__ method for some model is returning a Product object, not unicode. __unicode__ methods must return unicode (or string or buffer, which Python can coerce to unicode).
Karen
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment