示例#1
0
文件: urls.py 项目: yujiaqi/sentry
     ProjectEventRedirect.as_view(),
     name="sentry-project-event-redirect",
 ),
 url(
     r"^(?P<organization_slug>[\w_-]+)/api-keys/$",
     react_page_view,
     name="sentry-organization-api-keys",
 ),
 url(
     r"^(?P<organization_slug>[\w_-]+)/api-keys/(?P<key_id>[\w_-]+)/$",
     react_page_view,
     name="sentry-organization-api-key-settings",
 ),
 url(
     r"^(?P<organization_slug>[\w_-]+)/auth/configure/$",
     OrganizationAuthSettingsView.as_view(),
     name="sentry-organization-auth-provider-settings",
 ),
 url(
     r"^(?P<organization_slug>[\w_-]+)/integrations/(?P<provider_id>[\w_-]+)/setup/$",
     OrganizationIntegrationSetupView.as_view(),
     name="sentry-organization-integrations-setup",
 ),
 url(
     r"^(?P<organization_slug>[\w_-]+)/members/$",
     RedirectView.as_view(
         pattern_name="sentry-organization-members", permanent=False
     ),
     name="sentry-organization-members-old",
 ),
 url(
示例#2
0
文件: urls.py 项目: hosmelq/sentry
     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'
示例#3
0
    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'),
示例#4
0
文件: urls.py 项目: rhythm1995/sentry
    url(r'^api/$', react_page_view, name='sentry-api'),
    url(r'^api/new-token/$', 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_-]+)/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'),