Hi everybody.
I have a UTF-8 encoded fixture (initial_data.yaml, but I think it's
irrelevant) that contains some data to create auth.Group models. The names
of models are non-ascii characters. Syncdb and loaddata works smoothly, so
it's *not* a question "my non-ascii data is not loading".
The
On Thu, Oct 28, 2010 at 5:45 AM, Hussain Deikna 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 Pr
means your object cannot be converted into string. You have to either
provide a __unicode__ or __str__ for your model, or pick a particular field
that you are trying to coerce with the rest of the string
On Thu, Oct 28, 2010 at 15:15, Hussain Deikna wrote:
> Hi, I am newbe in django and I have g
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
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
That did the trick, thank you!
On Nov 1, 6:52 am, Karen Tracey wrote:
> Try deleting all your .pyc files and it might go away.
>
> Karen
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
Try deleting all your .pyc files and it might go away.
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 fro
Hi,
I'm getting the following error when I run "python manage.py", "python
manage.py runserver", or "python manage.py shell" in my project's
directory:
Traceback (most recent call last):
File "manage.py", line 11, in
execute_manager(settings)
File "/usr/lib/python2.6/site-packages/djang
7 matches
Mail list logo