Add a RegistryHook base class
Review Request #8530 — Created Nov. 7, 2016 and submitted
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.
-
Tool: Pyflakes Processed Files: djblets/extensions/hooks.py djblets/extensions/tests.py Tool: PEP8 Style Checker Processed Files: djblets/extensions/hooks.py djblets/extensions/tests.py