On Thu, Oct 28, 2010 at 5:45 AM, Hussain Deikna <dei...@gmail.com> wrote:

> 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-us...@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.

Reply via email to