当前位置: 首页>>代码示例>>Python>>正文


Python CreateTeamView.as_view方法代码示例

本文整理汇总了Python中sentry.web.frontend.create_team.CreateTeamView.as_view方法的典型用法代码示例。如果您正苦于以下问题:Python CreateTeamView.as_view方法的具体用法?Python CreateTeamView.as_view怎么用?Python CreateTeamView.as_view使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在sentry.web.frontend.create_team.CreateTeamView的用法示例。


在下文中一共展示了CreateTeamView.as_view方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: url

# 需要导入模块: from sentry.web.frontend.create_team import CreateTeamView [as 别名]
# 或者: from sentry.web.frontend.create_team.CreateTeamView import as_view [as 别名]
        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'),
    url(r'^organizations/(?P<organization_slug>[\w_-]+)/remove/$', RemoveOrganizationView.as_view(),
        name='sentry-remove-organization'),
    url(r'^organizations/(?P<organization_slug>[\w_-]+)/restore/$', RestoreOrganizationView.as_view(),
        name='sentry-restore-organization'),
    url(r'^accept/(?P<member_id>\d+)/(?P<token>\w+)/$', AcceptOrganizationInviteView.as_view(),
        name='sentry-accept-invite'),

    # need to catch settings and force it to react
    url(r'^organizations/(?P<organization_slug>[\w_-]+)/settings/', react_page_view),

    # Settings - Projects
    url(r'^(?P<organization_slug>[\w_-]+)/(?P<project_slug>[\w_-]+)/settings/$',
开发者ID:sashahilton00,项目名称:sentry,代码行数:33,代码来源:urls.py

示例2: url

# 需要导入模块: from sentry.web.frontend.create_team import CreateTeamView [as 别名]
# 或者: from sentry.web.frontend.create_team.CreateTeamView import as_view [as 别名]
     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_-]+)/settings/$",
     OrganizationSettingsView.as_view(),
     name="sentry-organization-settings",
 ),
 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",
 ),
 url(
     r"^organizations/(?P<organization_slug>[\w_-]+)/remove/$",
     RemoveOrganizationView.as_view(),
     name="sentry-remove-organization",
 ),
 url(
     r"^accept/(?P<member_id>\d+)/(?P<token>\w+)/$",
     AcceptOrganizationInviteView.as_view(),
开发者ID:pratyk,项目名称:sentry,代码行数:33,代码来源:urls.py


注:本文中的sentry.web.frontend.create_team.CreateTeamView.as_view方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。