Without debating the merits of signals (this code should obviously not
have been put into a signal), as a feature request, I would like to see
loaddata check for the possible execution of signals. If possible
execution of signals is detected, then loaddata should stop running and
display a message that signals might be triggered. The user could then
either temporarily comment out any signals in the code and re-run loaddata
(likely the most desired behavior), or they should be required to specify
an override flag if re-executing loaddata without commenting out signals
(something like loaddata fixture_name --execute-signals).
--
Ticket URL: <https://code.djangoproject.com/ticket/33190>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => duplicate
* component: Uncategorized => Core (Management commands)
Comment:
Duplicate of #8399. You may use `raw` to disable the handler during
fixture loading, see [https://docs.djangoproject.com/en/dev/ref/django-
admin/#what-s-a-fixture docs] and #20136.
--
Ticket URL: <https://code.djangoproject.com/ticket/33190#comment:1>