Jump to >

This documentation covers the in-development release of Review Board. You can see the stable Review Board documentation or all previous versions.

reviewboard.extensions.base

Base support for writing custom extensions.

class Extension(extension_manager)[source]

Bases: Extension

Base 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 Extension documentation for a full class reference.

class JSExtension(extension)[source]

Bases: JSExtension

Base 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 JSExtension documentation for a full class reference.

class ExtensionManager(key)[source]

Bases: ExtensionManager

The extension manager used by Review Board.

See the Djblets ExtensionManager documentation 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