當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。