當前位置: 首頁>>代碼示例>>Python>>正文


Python ErrorPageEmbedView.as_view方法代碼示例

本文整理匯總了Python中sentry.web.frontend.error_page_embed.ErrorPageEmbedView.as_view方法的典型用法代碼示例。如果您正苦於以下問題:Python ErrorPageEmbedView.as_view方法的具體用法?Python ErrorPageEmbedView.as_view怎麽用?Python ErrorPageEmbedView.as_view使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在sentry.web.frontend.error_page_embed.ErrorPageEmbedView的用法示例。


在下文中一共展示了ErrorPageEmbedView.as_view方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: url

# 需要導入模塊: from sentry.web.frontend.error_page_embed import ErrorPageEmbedView [as 別名]
# 或者: from sentry.web.frontend.error_page_embed.ErrorPageEmbedView import as_view [as 別名]
    url(r'^api/(?P<project_id>\d+)/csp-report/$', api.CspReportView.as_view(),
        name='sentry-api-csp-report'),
    url(r'^api/(?P<project_id>[\w_-]+)/crossdomain\.xml$', api.crossdomain_xml,
        name='sentry-api-crossdomain-xml'),

    # The static version is either a 10 digit timestamp, a sha1, or md5 hash
    url(r'^_static/(?:(?P<version>\d{10}|[a-f0-9]{32,40})/)?(?P<module>[^/]+)/(?P<path>.*)$', generic.static_media,
        name='sentry-media'),

    # API
    url(r'^api/0/', include('sentry.api.urls')),
    url(r'^api/hooks/mailgun/inbound/', MailgunInboundWebhookView.as_view(),
        name='sentry-mailgun-inbound-hook'),
    url(r'^api/hooks/release/(?P<plugin_id>[^/]+)/(?P<project_id>[^/]+)/(?P<signature>[^/]+)/', ReleaseWebhookView.as_view(),
        name='sentry-release-hook'),
    url(r'^api/embed/error-page/$', ErrorPageEmbedView.as_view(),
        name='sentry-error-page-embed'),

    # OAuth
    url(r'^oauth/authorize/$', OAuthAuthorizeView.as_view()),
    url(r'^oauth/token/$', OAuthTokenView.as_view()),

    # Auth
    url(r'^auth/link/(?P<organization_slug>[^/]+)/$', AuthOrganizationLoginView.as_view(),
        name='sentry-auth-link-identity'),
    url(r'^auth/login/$', AuthLoginView.as_view(),
        name='sentry-login'),
    url(r'^auth/login/(?P<organization_slug>[^/]+)/$', AuthOrganizationLoginView.as_view(),
        name='sentry-auth-organization'),
    url(r'^auth/2fa/$', TwoFactorAuthView.as_view(),
        name='sentry-2fa-dialog'),
開發者ID:sashahilton00,項目名稱:sentry,代碼行數:33,代碼來源:urls.py

示例2: url

# 需要導入模塊: from sentry.web.frontend.error_page_embed import ErrorPageEmbedView [as 別名]
# 或者: from sentry.web.frontend.error_page_embed.ErrorPageEmbedView import as_view [as 別名]
 url(r"^api/(?P<project_id>\d+)/csp-report/$", api.CspReportView.as_view(), name="sentry-api-csp-report"),
 # The static version is either a 10 digit timestamp, a sha1, or md5 hash
 url(
     r"^_static/(?:(?P<version>\d{10}|[a-f0-9]{32,40})/)?(?P<module>[^/]+)/(?P<path>.*)$",
     generic.static_media,
     name="sentry-media",
 ),
 # API
 url(r"^api/0/", include("sentry.api.urls")),
 url(r"^api/hooks/mailgun/inbound/", MailgunInboundWebhookView.as_view(), name="sentry-mailgun-inbound-hook"),
 url(
     r"^api/hooks/release/(?P<plugin_id>[^/]+)/(?P<project_id>[^/]+)/(?P<signature>[^/]+)/",
     ReleaseWebhookView.as_view(),
     name="sentry-release-hook",
 ),
 url(r"^api/embed/error-page/$", ErrorPageEmbedView.as_view(), name="sentry-error-page-embed"),
 # Auth
 url(
     r"^auth/link/(?P<organization_slug>[^/]+)/$",
     AuthOrganizationLoginView.as_view(),
     name="sentry-auth-link-identity",
 ),
 url(r"^auth/login/$", AuthLoginView.as_view(), name="sentry-login"),
 url(
     r"^auth/login/(?P<organization_slug>[^/]+)/$",
     AuthOrganizationLoginView.as_view(),
     name="sentry-auth-organization",
 ),
 url(r"^auth/sso/$", AuthProviderLoginView.as_view(), name="sentry-auth-sso"),
 url(r"^auth/logout/$", AuthLogoutView.as_view(), name="sentry-logout"),
 # Account
開發者ID:pratyk,項目名稱:sentry,代碼行數:33,代碼來源:urls.py


注:本文中的sentry.web.frontend.error_page_embed.ErrorPageEmbedView.as_view方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。