reviewboard.extensions.base¶
Base support for writing custom extensions.
-
class
Extension(extension_manager)[source]¶ Bases:
djblets.extensions.extension.ExtensionBase class for custom extensions.
See Extending Review Board for information on how to make use of this class to write your own extensions, and the Djblets
Extensiondocumentation for a full class reference.
-
class
JSExtension(extension)[source]¶ Bases:
djblets.extensions.extension.JSExtensionBase class for JavaScript-side extensions.
See Extending Review Board for information on how to make use of this class to write your own JavaScript-side extensions, and the Djblets
JSExtensiondocumentation for a full class reference.
-
class
ExtensionManager(key)[source]¶ Bases:
djblets.extensions.manager.ExtensionManagerThe extension manager used by Review Board.
See the Djblets
ExtensionManagerdocumentation for a full class reference.
-
get_extension_manager()[source]¶ Return the extension manager used by Review Board.
The same instance will be returned every time.
Returns: The extension manager used by Review Board. Return type: ExtensionManager