#27380: Add the 'raw' argument with the 'm2m_changed' signal
----------------------------------------------+--------------------
Reporter: Élie Bouttier | Owner: nobody
Type: New feature | Status: new
Component: Database layer (models, ORM) | Version: 1.10
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------------------+--------------------
The 'raw' argument is sent with pre_save and post_save signals in order to
detect fixture loading and avoid un-needed operations in this case.
Unfortunatly, this argument is not sent with m2m_changed signal !
I find a work-around on stack-overflow for tests which consist in
disconnecting the m2m_signal in the setUpClass.
However, this is not applicable for loaddata management command.
Please send the 'raw' argument with the m2m_changed signal, this is
needed!
--
Ticket URL: <https://code.djangoproject.com/ticket/27380>
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/051.3c02ead1dc95151b9cac4af214232c6c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.