本文整理汇总了Python中sentry.web.frontend.error_page_embed.ErrorPageEmbedView类的典型用法代码示例。如果您正苦于以下问题:Python ErrorPageEmbedView类的具体用法?Python ErrorPageEmbedView怎么用?Python ErrorPageEmbedView使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了ErrorPageEmbedView类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: url
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'),
示例2: url
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