-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 'cause the current patch in the ticket doesnt seem to work perfect until now, i created a small hack
http://steph.rdev.info/devel/m2m_custom_columnnames-r7732.patch example: class Article(models.Model): categories = models.ManyToManyField( 'Category', db_table='articles_has_categories', db_n_field='articles_idarticles', db_m_field='categories_id', filter_interface=models.HORIZONTAL ) db_n_field is 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, 2008 at 3:40 PM, Stephan Jäkel <[EMAIL PROTECTED]> wrote: | |> -----BEGIN PGP SIGNED MESSAGE----- | |> Hash: SHA1 | |> | |> OK. I hoped, there is a possibility to use ManyToManyField. Well, the | |> Model-way is already implemented but i would like to use | |> ManyToManyField. Anyway, it works. | |> | | | | If you are using Django from SVN trunk and willing to patch and test | | code, you might | | be interested in taking a look at ticket [1]6095 and helping with the | | testing of the | | most recent patch attached to it. | | | | 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 Mozilla - http://enigmail.mozdev.org iD8DBQFIYgJH4B/i3Mb6qe4RAhtdAJ9BZNOi1NJ27T5jsNtPZUiVpwatdQCgmlnn g29bRDOr/X4pG1CG0bWsq5w= =urku -----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 -~----------~----~----~----~------~----~------~--~---