On 8/24/05, John Madson <[EMAIL PROTECTED]> wrote: > How do you add or access an additional field to the cross-reference > table generated by a ManyToManyField? For example, if I have an xref > table that looks like: > > `id` mediumint(9) unsigned NOT NULL auto_increment, > `foo_id` int(11) NOT NULL default '0', > `bar_id` int(11) NOT NULL default '0', > `baz` varchar(255) NOT NULL
In this case, use a cross-reference model instead of a ManyToManyField in one of the models. See this example: http://www.djangoproject.com/documentation/models/m2m_intermediary/ Adrian
