On Mon, May 11, 2009 at 2:28 AM, mickey <davidan...@gmail.com> wrote:
> > Hi > > So i have something like t his in my model: > > article = models.ManyToManyField(Publication) > > But i'd like to add a few additoinal columns like date_published on > the generated many to many table, how do i do that? > > Thanks. > Use the through argument to specify the intermediate table, which you can define to have whatever additional fields you want. See: http://docs.djangoproject.com/en/dev/topics/db/models/#extra-fields-on-many-to-many-relationships Karen --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---