hmm, what about using "edit_inline" like: class Article(meta.Model): headline = meta.CharField(maxlength=100) publications = meta.ManyToManyField(Publication, edit_inline=meta.TABULAR)
i didn't try that btw. patrick Am 24.02.2006 um 16:14 schrieb Philippe Mironov: > > [EMAIL PROTECTED] a écrit : > >> The following model was taken from : >> http://www.djangoproject.com/documentation/models/many_to_many/ >> >> ********************************** >> from django.core import meta >> >> class Publication(meta.Model): >> title = meta.CharField(maxlength=30) >> >> def __repr__(self): >> return self.title >> class META: >> admin = meta.Admin() >> >> class Article(meta.Model): >> headline = meta.CharField(maxlength=100) >> publications = meta.ManyToManyField(Publication) >> >> def __repr__(self): >> return self.headline >> class META: >> admin = meta.Admin() >> ********************************** >> >> How do I give the Publication admin interface the ability to add >> Articles to a certain publication? >> >> Say I have two articles. When I create a publication called "My >> Articles" I want to be able to add article 1 and article 2. >> Currently >> I can add articles to a Publication through the ManyToManyField but I >> need that same functionality in the Publication model. Any ideas? >> >> > > Hi did you get any response (off list) ? > I'm interested with the issue. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---