Add a RegistryHook base class
Review Request #8530 — Created Nov. 7, 2016 and submitted — Latest diff uploaded
The
RegistryHook
is a base class that handles registration and
unregistration of items from registries. Subclasses can set the
specific registry to use.Tests have been added to ensure that the hook correctly registers
items.
- Ran unit tests.
- Used this in /r/8531.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.
orig
1
2
3
djblets/extensions/hooks.py |
---|
djblets/extensions/tests.py |
---|