예제 #1
0
파일: urls.py 프로젝트: bweathers3/sentry
    url(r'^manage/', react_page_view, name='sentry-admin-overview'),

    # Legacy Redirects
    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()),
    url(r'^accept-transfer/$',
        AcceptProjectTransferView.as_view(),
        name='sentry-accept-project-transfer'),

    # Organizations
    url(r'^(?P<organization_slug>[\w_-]+)/$',
        react_page_view,
        name='sentry-organization-home'),
    url(r'^organizations/new/$', generic_react_page_view),
    url(r'^organizations/(?P<organization_slug>[\w_-]+)/api-keys/$',
        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/$',
        OrganizationAuthSettingsView.as_view(),
예제 #2
0
    # Legacy Redirects
    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()),

    url(r'^accept-transfer/$', AcceptProjectTransferView.as_view(),
        name='sentry-accept-project-transfer'),

    # Organizations
    url(r'^(?P<organization_slug>[\w_-]+)/$', react_page_view, name='sentry-organization-home'),
    url(r'^organizations/new/$', generic_react_page_view),
    url(
        r'^organizations/(?P<organization_slug>[\w_-]+)/api-keys/$',
        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'
    ),