#35160: m2m_changed not trigerred when ManyToManyField in autocomplete list
-------------------------------------+-------------------------------------
Reporter: pcnmanon | Owner: nobody
Type: Bug | Status: new
Component: Database | Version: 3.2
layer (models, ORM) | Keywords: m2m_changed
Severity: Normal | ManyToManyField autocomplete_fields
Triage Stage: | DEBUG
Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
When a ManyToManyField in Django Admin is set in autocomplete_fields the
signal m2m_changed is not triggered if DEBUG=false in settings but if we
switch DEBUG to true the signal m2m_changed is triggered.
This is only reproductible if the ManyToManyField is present in
autocomplete_fields if it is not, m2m_changed work correctly.
--
Ticket URL: <https://code.djangoproject.com/ticket/35160>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018d5f389972-d93bc547-b94f-48c9-b89d-ebd54ac1454a-000000%40eu-central-1.amazonses.com.