本文整理匯總了Python中sentry.web.frontend.organization_auth_settings.OrganizationAuthSettingsView.as_view方法的典型用法代碼示例。如果您正苦於以下問題:Python OrganizationAuthSettingsView.as_view方法的具體用法?Python OrganizationAuthSettingsView.as_view怎麽用?Python OrganizationAuthSettingsView.as_view使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類sentry.web.frontend.organization_auth_settings.OrganizationAuthSettingsView
的用法示例。
在下文中一共展示了OrganizationAuthSettingsView.as_view方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: url
# 需要導入模塊: from sentry.web.frontend.organization_auth_settings import OrganizationAuthSettingsView [as 別名]
# 或者: from sentry.web.frontend.organization_auth_settings.OrganizationAuthSettingsView import as_view [as 別名]
url(r'^api/$', generic_react_page_view, name='sentry-api'),
url(r'^api/[^0]+/', generic_react_page_view),
url(r'^out/$', OutView.as_view()),
# Organizations
url(r'^(?P<organization_slug>[\w_-]+)/$', react_page_view,
name='sentry-organization-home'),
url(r'^organizations/new/$', CreateOrganizationView.as_view(),
name='sentry-create-organization'),
url(r'^organizations/(?P<organization_slug>[\w_-]+)/api-keys/$', OrganizationApiKeysView.as_view(),
name='sentry-organization-api-keys'),
url(r'^organizations/(?P<organization_slug>[\w_-]+)/api-keys/(?P<key_id>[\w_-]+)/$', OrganizationApiKeySettingsView.as_view(),
name='sentry-organization-api-key-settings'),
url(r'^organizations/(?P<organization_slug>[\w_-]+)/auth/$', OrganizationAuthSettingsView.as_view(),
name='sentry-organization-auth-settings'),
url(r'^organizations/(?P<organization_slug>[\w_-]+)/members/$', OrganizationMembersView.as_view(),
name='sentry-organization-members'),
url(r'^organizations/(?P<organization_slug>[\w_-]+)/members/new/$', CreateOrganizationMemberView.as_view(),
name='sentry-create-organization-member'),
url(r'^organizations/(?P<organization_slug>[\w_-]+)/members/(?P<member_id>\d+)/$', OrganizationMemberSettingsView.as_view(),
name='sentry-organization-member-settings'),
url(r'^organizations/(?P<organization_slug>[\w_-]+)/stats/$', react_page_view,
name='sentry-organization-stats'),
url(r'^organizations/(?P<organization_slug>[\w_-]+)/teams/(?P<team_slug>[\w_-]+)/remove/$', RemoveTeamView.as_view(),
name='sentry-remove-team'),
url(r'^organizations/(?P<organization_slug>[\w_-]+)/teams/new/$', CreateTeamView.as_view(),
name='sentry-create-team'),
url(r'^organizations/(?P<organization_slug>[\w_-]+)/projects/new/$', CreateProjectView.as_view(),
name='sentry-create-project'),
示例2: url
# 需要導入模塊: from sentry.web.frontend.organization_auth_settings import OrganizationAuthSettingsView [as 別名]
# 或者: from sentry.web.frontend.organization_auth_settings.OrganizationAuthSettingsView import as_view [as 別名]
react_page_view,
name='sentry-organization-api-keys'
),
url(
r'^organizations/(?P<organization_slug>[\w_-]+)/api-keys/(?P<key_id>[\w_-]+)/$',
react_page_view,
name='sentry-organization-api-key-settings'
),
url(
r'^organizations/(?P<organization_slug>[\w_-]+)/auth/$',
react_page_view,
name='sentry-organization-auth-settings'
),
url(
r'^organizations/(?P<organization_slug>[\w_-]+)/auth/configure/$',
OrganizationAuthSettingsView.as_view(),
name='sentry-organization-auth-provider-settings'
),
url(
r'^organizations/(?P<organization_slug>[\w_-]+)/integrations/(?P<provider_id>[\w_-]+)/setup/$',
OrganizationIntegrationSetupView.as_view()
),
url(
r'^organizations/(?P<organization_slug>[\w_-]+)/members/$',
react_page_view,
name='sentry-organization-members'
),
url(
r'^organizations/(?P<organization_slug>[\w_-]+)/members/new/$',
react_page_view,
name='sentry-create-organization-member'