reviewboard.integrations.views¶
Views for listing and configuring integrations.
- class AdminIntegrationConfigFormView(**kwargs)[source]¶
Bases:
GetIntegrationManagerMixin
,BaseAdminIntegrationConfigFormView
Administration view for configuration an integration.
- get_success_url()[source]¶
Return the URL to redirect to after saving the form.
This will take the user back to the list of integrations.
- Returns:
The URL to the integration list page.
- Return type:
- get_form_kwargs()[source]¶
Return keyword arguments to pass to the form.
This will, by default, provide
integration
and configurationinstance
keyword arguments to the form during initialization, along with therequest
andlocal_site
(if any).Subclases can override it with additional arguments if needed.
- Returns:
A dictionary of keyword arguments to pass to the form.
- Return type:
- __annotations__ = {}¶
- class AdminIntegrationListView(**kwargs)[source]¶
Bases:
GetIntegrationManagerMixin
,BaseAdminIntegrationListView
Administration view for listing integrations.
- __annotations__ = {}¶