Re: Data truncated for column change_message

2008-06-25 Thread Stephan Jäkel
-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 thin

Re: Data truncated for column change_message

2008-06-24 Thread Stephan Jäkel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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 w

Re: Data truncated for column change_message

2008-06-24 Thread Peter Rowell
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. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Data truncated for column change_message

2008-06-24 Thread Stephan Jäkel
gn keys an some other stuff. managing the models through the admin interface works fine, i can edit and save but on save i get the following error: Data truncated for column 'change_message' at row 1 it happen on every model-edit/add. i already tried to execute the sql statement directly