reviewboard¶
Review Board version and package information.
These variables and functions can be used to identify the version of Review Board. They’re largely used for packaging purposes.
-
VERSION
= (3, 0, 25, 0, u'final', 0, True)[source]¶ The version of Review Board.
This is in the format of:
(Major, Minor, Micro, Patch, alpha/beta/rc/final, Release Number, Released)
-
get_package_version
()[source]¶ Return the Review Board version as a Python package version string.
Returns: The Review Board package version. Return type: unicode
-
initialize
()[source]¶ Begin initialization of Review Board.
This sets up the logging, generates cache serial numbers, loads extensions, and sets up other aspects of Review Board. Once it has finished, it will fire the
reviewboard.signals.initializing
signal.This must be called at some point before most features will work, but it will be called automatically in a standard install. If you are writing an extension or management command, you do not need to call this yourself.