I found this thread:
http://stackoverflow.com/questions/660260/django-admin-form-for-many-to-many-relationship
on Stackoverflow, but when i try the suggested TabularInline thing i get the
error:

<class 'politlog.eventchain.models.EventChain'> has no ForeignKey to
<class 'politlog.entry.models.Entries'>

Greetings
Sven



On Thu, Aug 27, 2009 at 5:03 PM, Thomas Guettler <h...@tbz-pariv.de> wrote:

>
> Hi,
>
> I had the same question some time ago and found no answer,
> but maybe you try harder.
>
> Sven Richter schrieb:
> > Hi,
> >
> > i have a new problem with my many-to-many field.
> >
> > I have two models A and B.
> > A(models.model):
> >   b = models.ManyToManyField('app.B')
> >
> > Now when i edit A in the admin interface everything is ok, i can select
> all
> > B instances A belongs to.
> >
> > What i need now is to be able to do the same thing from B's admin
> interface.
> > When i edit B i want to select all instances of A B belongs to.
> >
> > Is there a way to achieve that?
>
> --
> Thomas Guettler, http://www.thomas-guettler.de/
> E-Mail <http://www.thomas-guettler.de/%0AE-Mail>: guettli (*)
> thomas-guettler + de
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to