]> git.ipfire.org Git - thirdparty/patchwork.git/commit
signals: Add callbacks for events
authorStephen Finucane <stephen@that.guru>
Tue, 18 Oct 2016 20:12:05 +0000 (21:12 +0100)
committerStephen Finucane <stephen@that.guru>
Wed, 1 Mar 2017 22:17:05 +0000 (22:17 +0000)
commit75e33665bbf571ce747082f24afd9cf87892637d
tree619bd15de0ec78b198da08e13e6e624118f4e689
parent1f78a747b7547136d4799cccec8d7263d64f0171
signals: Add callbacks for events

When models are modified, fire signal handlers to create the relevant
events.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Tested-by: Daniel Axtens <dja@axtens.net>
patchwork/models.py
patchwork/signals.py
patchwork/tests/test_events.py [new file with mode: 0644]
patchwork/tests/utils.py