2018-12-07 22:52:28 +00:00
|
|
|
from django.urls import path
|
2010-01-10 17:35:01 +00:00
|
|
|
|
2011-10-13 21:34:56 +00:00
|
|
|
from . import views
|
2010-01-10 17:35:01 +00:00
|
|
|
|
2014-04-02 00:46:34 +00:00
|
|
|
urlpatterns = [
|
2022-02-03 19:24:19 +00:00
|
|
|
path("middleware_exceptions/view/", views.normal_view),
|
|
|
|
path("middleware_exceptions/error/", views.server_error),
|
|
|
|
path("middleware_exceptions/permission_denied/", views.permission_denied),
|
|
|
|
path("middleware_exceptions/exception_in_render/", views.exception_in_render),
|
|
|
|
path("middleware_exceptions/template_response/", views.template_response),
|
2020-02-12 22:15:00 +00:00
|
|
|
# Async views.
|
|
|
|
path(
|
2022-02-03 19:24:19 +00:00
|
|
|
"middleware_exceptions/async_exception_in_render/",
|
2020-02-12 22:15:00 +00:00
|
|
|
views.async_exception_in_render,
|
|
|
|
),
|
2014-04-02 00:46:34 +00:00
|
|
|
]
|