#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 | Resolution:
Keywords: | Triage Stage:
to_field_allowed,M2M | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by nanuxbe:
Old description:
> 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.
New description:
Up until Django 1.5.8 and Django 1.6.5 it 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#comment:2>
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/065.808a63ca41f7ce7722abe414b5880961%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.