Jump to >

reviewboard.integrations.views

Views for listing and configuring integrations.

class AdminIntegrationConfigFormView(**kwargs)[source]

Bases: reviewboard.integrations.base.GetIntegrationManagerMixin, djblets.integrations.views.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:unicode
get_form_kwargs()[source]

Return keyword arguments to pass to the form.

This will, by default, provide integration and configuration instance keyword arguments to the form during initialization, along with the request and local_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:dict
class AdminIntegrationListView(**kwargs)[source]

Bases: reviewboard.integrations.base.GetIntegrationManagerMixin, djblets.integrations.views.BaseAdminIntegrationListView

Administration view for listing integrations.