Opened 15 years ago

Last modified 15 years ago

#11795 closed

inline for many-to-many colmuns not working — at Initial Version

Reported by: sveri Owned by: nobody
Component: Uncategorized Version: 1.1
Severity: Keywords: manytomanyfield inline
Cc: miracle2k, Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

When i try to create an inline field in admin.py for a manytomanyfield i always get the following error:
<class 'politlog.app.models.Class'> has no ForeignKey to <class 'politlog.otherapp.models.OtherClass'>

It seems like django doesnt support inlines for ManyToManyFields whereas the documentation says otherwise:
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#working-with-many-to-many-intermediary-models

I've described my problem also here:
http://groups.google.de/group/django-users/browse_thread/thread/4586689cbbc07a28/2a1efa4882fcfc67?lnk=gst&q=many+to+many#2a1efa4882fcfc67

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top