-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

database charset was the problem.

see http://code.djangoproject.com/ticket/5007

fixing the encoding in the database solved the problem.

Stephan Jäkel wrote:
| Hi,
|
| the Data truncated error is thrown for a django table. my models are ok,
| i think. as i've written, the affected table is "django_admin_log" and
| the raw query is valid and works. i dont know why, but python-mysql
| throws this error.
|
| Peter Rowell wrote:
| | I don't know if this is the problem, but I've noticed that inspectdb
| | can generate wrong max_length for CharFields. Check the lengths in the
| | database vs. the lengths in your models.
| | |
| |
|

- 


- --
Stephan Jäkel

e-Mail  : [EMAIL PROTECTED]
Website : http://rdev.info
Mobile  : +49 163 458 9 173

What do you mean that could take down the whole network?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIYgBK4B/i3Mb6qe4RAnMOAKCqxU8YF+LOUcvZ0HAUQ7LIETUm7wCeNRwx
kF+wsCZvnbRak+5+DGqgRSg=
=iJ/A
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to