Jump to >

reviewboard.accounts.pages

class AccountPageRegistry[source]

A registry for managing account pages.

get_defaults()[source]

Return the default page classes.

Returns

The page classes, as subclasses of AccountPage.

Return type

type

unregister(page_class)[source]

Unregister the page class.

Parameters

page_class (type) – The page class to unregister.

Raises

ItemLookupError – This exception is raised if the specified page class cannot be found.

class AccountPage(config_view, request, user)[source]

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.

classmethod get_absolute_url()[source]

Return the absolute URL of the page.

Returns

The absolute URL of the page.

Return type

unicode

class AccountSettingsPage(config_view, request, user)[source]

A page containing the primary settings the user can customize.

class AuthenticationPage(config_view, request, user)[source]

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]

A page containing settings for the user’s profile.

class GroupsPage(config_view, request, user)[source]

A page containing a filterable list of groups to join.

class OAuth2Page(config_view, request, user)[source]

A page containing a list of OAuth2 applications to manage.

class PrivacyPage(config_view, request, user)[source]

A page containing information on a user’s privacy rights.