本文整理汇总了Python中sentry.web.frontend.create_organization.CreateOrganizationView.as_view方法的典型用法代码示例。如果您正苦于以下问题:Python CreateOrganizationView.as_view方法的具体用法?Python CreateOrganizationView.as_view怎么用?Python CreateOrganizationView.as_view使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类sentry.web.frontend.create_organization.CreateOrganizationView
的用法示例。
在下文中一共展示了CreateOrganizationView.as_view方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: url
# 需要导入模块: from sentry.web.frontend.create_organization import CreateOrganizationView [as 别名]
# 或者: from sentry.web.frontend.create_organization.CreateOrganizationView import as_view [as 别名]
url(r'^docs/?$',
RedirectView.as_view(url='https://docs.sentry.io/hosted/', permanent=False),
name='sentry-docs-redirect'),
url(r'^docs/api/?$',
RedirectView.as_view(url='https://docs.sentry.io/hosted/api/', permanent=False),
name='sentry-api-docs-redirect'),
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'),
示例2: url
# 需要导入模块: from sentry.web.frontend.create_organization import CreateOrganizationView [as 别名]
# 或者: from sentry.web.frontend.create_organization.CreateOrganizationView import as_view [as 别名]
RedirectView.as_view(url="https://docs.getsentry.com/hosted/", permanent=False),
name="sentry-docs-redirect",
),
url(
r"^api/?$",
RedirectView.as_view(url="https://docs.getsentry.com/hosted/api/", permanent=False),
name="sentry-api-docs-redirect",
),
url(
r"^docs/api/?$",
RedirectView.as_view(url="https://docs.getsentry.com/hosted/api/", permanent=False),
name="sentry-api-docs-redirect",
),
# 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",
),