#23604: Regression in allowing to handle M2M fields from the "receiving end" -
follow up to #23329
-------------------------------+----------------------------------
Reporter: nanuxbe | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 1.7
Severity: Normal | Keywords: to_field_allowed,M2M
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------+----------------------------------
Up until Django 1.5.8 and Django 1.6.5 in was possible to have a
ManyToMany field displayed in the admin on the "receiving-end" of the
relationship with the ability to add new records.
Due to the restrictiveness of the new to_field_allowed method, one cannot
open the popup for adding new records to the Model where the ManyToMany
relationship is defined.
I realize this usage of the admin site is undocumented but, since the
current code allows to perform that from the "receiving-end" of ForeignKey
fields, IMHO it should also work for ManyToMany fields.
If the descriptions sounds too vague, see http://www.lasolution.be/blog
/related-manytomanyfield-django-admin-site.html for a complete step-by-
step explanation on how to reproduce.
--
Ticket URL: <https://code.djangoproject.com/ticket/23604>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.61a7f7ea540c0bf4ed77182e8a530b0e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.