Re: Problem with query_set extra select/field casting

2008-08-28 Thread Stephan Jäkel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, both hosts run the same Django version: trunk r8555. regards, Malcolm Tredinnick wrote: | | On Thu, 2008-08-28 at 20:58 +0200, Stephan Jäkel wrote: | [...] |> x.date returns a unicode string even its the same code, the same |> databa

Problem with query_set extra select/field casting

2008-08-28 Thread Stephan Jäkel
uery_set().extra( ~select = { ~'date': extra_last_updated, ~},).exclude(deleted=True).order_by('-date') I have no idea why this problem appears.. any ideas? thanks in advance :-) best regards, - -- Stephan Jäkel e-Mail : [EMAIL PROTECTED] Websit

Re: many to many field

2008-06-25 Thread Stephan Jäkel
the column name for the Article Model in the db_table, db_m_field is the column name for the Category Model in the db_table. Have fun.. Best regards, Stephan Jäkel wrote: | thanks for the advice. great stuff. i'll follow the ticket. | | best regards, | | Ramiro Morales wrote: | | On Tue, Jun 24

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

Re: many to many field

2008-06-24 Thread Stephan Jäkel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 thanks for the advice. great stuff. i'll follow the ticket. best regards, Ramiro Morales wrote: | On Tue, Jun 24, 2008 at 3:40 PM, Stephan Jäkel <[EMAIL PROTECTED]> wrote: |> -BEGIN PGP SIGNED MESSAGE- |> Hash: SHA1 |> |

Re: Data truncated for column change_message

2008-06-24 Thread Stephan Jäkel
. 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.inf

Re: many to many field

2008-06-24 Thread Stephan Jäkel
use | the "db_column" option to name the fields in that table. | | http://www.djangoproject.com/documentation/models/custom_columns/ | | On Jun 24, 1:43 pm, Stephan Jäkel <[EMAIL PROTECTED]> wrote: | hi, | | joshuajonah wrote: | | | You should use the 'db_table' option for

Re: many to many field

2008-06-24 Thread Stephan Jäkel
oc: | http://www.djangoproject.com/documentation/model-api/ | | Does that help? a bit, but thanks anyway :-) | | On Jun 24, 12:41 pm, Stephan Jäkel <[EMAIL PROTECTED]> wrote: | Hi list, | | i'm currently implementing django as management interface for an | existing project. until n

many to many field

2008-06-24 Thread Stephan Jäkel
p the tablename and columns? best regards, - -- 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

Re: Do you code django with Komodo?

2008-06-24 Thread Stephan Jäkel
ol language. |> big thanks to all of you that make it available. (I hope to get clued |> up enough to contribute at some point.) - -- 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?

Data truncated for column change_message

2008-06-24 Thread Stephan Jäkel
on the mysql server. it works just fine. (the statement adds the log entry to django_admin_log) the error is declared as warning, but raises an exception-of-death ;-) any ideas to fix this behaviour? best regards, - -- Stephan Jäkel e-Mail : [EMAIL PROTECTED] Website : http://rdev.info Mobile