Changes between Initial Version and Version 3 of Ticket #11795
- Timestamp:
- Aug 28, 2009, 7:03:19 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11795
- Property Status new → reopened
- Property Summary inline for many-to-many colmuns not working → Allow use of inlines for many-to-many fields
-
Ticket #11795 – Description
initial v3 1 When i try to create an inline field in admin.py for a manytomanyfield ialways get the following error:2 <class ' politlog.app.models.Class'> has no ForeignKey to <class 'politlog.otherapp.models.OtherClass'>1 When you try to create an inline field in admin.py for a manytomanyfield you always get the following error: 2 <class 'MyClass'> has no ForeignKey to <class 'OtherClass'> 3 3 4 It seems like django doesnt support inlines for ManyToManyFields whereas the documentation says otherwise: 5 http://docs.djangoproject.com/en/dev/ref/contrib/admin/#working-with-many-to-many-intermediary-models 6 7 I've described my problem also here: 8 http://groups.google.de/group/django-users/browse_thread/thread/4586689cbbc07a28/2a1efa4882fcfc67?lnk=gst&q=many+to+many#2a1efa4882fcfc67 4 It would be nice to be able to use inlines for many to many relations.