Add an EntryPointRegistry
Review Request #7813 — Created Dec. 17, 2015 and submitted — Latest diff uploaded
This patch adds a
EntryPointRegistry
(migrated from Review Board) that
populates a registry from Python entry points. A new mixin has been
added for registries that overrides the defaultget
behaviour to no
longer raise exceptions.This patch also ensures that no non-lazy
ugettext
calls are made at
import time.The documentation has been updated to reflect these new changes.
- Ran unit tests
- Built the docs and viewed them. The links worked.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 4. See what's changed.
orig
1
2
3
4
djblets/registries/mixins.py |
---|
djblets/registries/registry.py |
---|
docs/djblets/coderef/index.rst |
---|
docs/djblets/guides/registries/writing-registries.rst |
---|