]> git.ipfire.org Git - thirdparty/patchwork.git/commit
signals: Don't call event creation code for fixtures
authorStephen Finucane <stephen@that.guru>
Tue, 9 Jan 2018 21:47:28 +0000 (21:47 +0000)
committerStephen Finucane <stephen@that.guru>
Tue, 9 Jan 2018 23:59:51 +0000 (23:59 +0000)
commit139068e58670da8d7c48fb6efe07132227a6bc35
tree25e709079bc8ed79c0c904fa5e3fa71168ee6f91
parent087929d3dc20c6c57cf14bf4ac5c2a4ca1328c54
signals: Don't call event creation code for fixtures

If loading fixtures via the 'loaddata' management command, then it is
unlikely that the signal handling code should execute. Disable it.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/signals.py