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


Python RemoveOrganizationView.as_view方法代码示例

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


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

示例1: url

# 需要导入模块: from sentry.web.frontend.remove_organization import RemoveOrganizationView [as 别名]
# 或者: from sentry.web.frontend.remove_organization.RemoveOrganizationView import as_view [as 别名]
        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/$',
        ProjectSettingsView.as_view(),
        name='sentry-manage-project'),
    url(r'^(?P<organization_slug>[\w_-]+)/(?P<project_slug>[\w_-]+)/settings/issue-tracking/$',
        ProjectIssueTrackingView.as_view(),
开发者ID:sashahilton00,项目名称:sentry,代码行数:33,代码来源:urls.py

示例2: url

# 需要导入模块: from sentry.web.frontend.remove_organization import RemoveOrganizationView [as 别名]
# 或者: from sentry.web.frontend.remove_organization.RemoveOrganizationView import as_view [as 别名]
     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(),
     name="sentry-accept-invite",
 ),
 # Settings - Projects
 url(
     r"^(?P<organization_slug>[\w_-]+)/(?P<project_slug>[\w_-]+)/settings/$",
     ProjectSettingsView.as_view(),
     name="sentry-manage-project",
 ),
 url(
     r"^(?P<organization_slug>[\w_-]+)/(?P<project_slug>[\w_-]+)/settings/issue-tracking/$",
开发者ID:pratyk,项目名称:sentry,代码行数:33,代码来源:urls.py


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