reviewboard.accounts.pages¶
-
class
AccountPage
(config_view, request, user)[source]¶ Bases:
djblets.configforms.pages.ConfigPage
Base class for a page of forms in the My Account page.
Each AccountPage is represented in the My Account page by an entry in the navigation sidebar. When the user has navigated to that page, any forms shown on the page will be displayed.
Extensions can provide custom pages in order to offer per-user customization.
-
class
AccountSettingsPage
(config_view, request, user)[source]¶ Bases:
reviewboard.accounts.pages.AccountPage
A page containing the primary settings the user can customize.
-
class
APITokensPage
(config_view, request, user)[source]¶ Bases:
reviewboard.accounts.pages.AccountPage
A page containing settings for API tokens.
-
class
AuthenticationPage
(config_view, request, user)[source]¶ Bases:
reviewboard.accounts.pages.AccountPage
A page containing authentication-related forms.
By default, this just shows the Change Password form, but extensions can provide additional forms for display.
-
class
ProfilePage
(config_view, request, user)[source]¶ Bases:
reviewboard.accounts.pages.AccountPage
A page containing settings for the user’s profile.
-
class
GroupsPage
(config_view, request, user)[source]¶ Bases:
reviewboard.accounts.pages.AccountPage
A page containing a filterable list of groups to join.
-
register_account_page_class
(page_cls)[source]¶ Register a custom account page class.
A page ID is considered unique and can only be registered once. A KeyError will be thrown if attempting to register a second time.
-
unregister_account_page_class
(page_cls)[source]¶ Unregister a previously registered account page class.