reviewboard.integrations.views¶
Views for listing and configuring integrations.
- class AdminIntegrationConfigFormView(**kwargs)[source]¶
Bases:
GetIntegrationManagerMixin,BaseAdminIntegrationConfigFormViewAdministration 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
integrationand configurationinstancekeyword arguments to the form during initialization, along with therequestandlocal_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:
- class AdminIntegrationListView(**kwargs)[source]¶
Bases:
GetIntegrationManagerMixin,BaseAdminIntegrationListViewAdministration view for listing integrations.
- request: HttpRequest¶
The HTTP request for the view.
This must be set in subclasses.