On Wed, 2006-07-19 at 22:56 +0000, Geta wrote: > What's the easiest way to have Django use an existing table for the > intermediate table for a ManyToManyField? I have a legacy database, > with two tables and an intermediate table for the M2M relationship > between them -- all these are pretty similar to what Django would > create, but the table and column names are different. I know you can > specify META.db_table to specify database table names and db_column for > field names, but I couldn't see where/if this could be set for a > ManyToManyField -- is it possible?
Not yet. There's a ticket I stumbled across yesterday that asks for this, too (#785). I think it's not an unreasonable idea, so we should add something like that in the near- to medium-term future. Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---