2018-12-08 06:52:28 +08:00
|
|
|
from django.urls import path
|
2010-01-11 01:35:01 +08:00
|
|
|
|
2011-10-14 05:34:56 +08:00
|
|
|
from . import views
|
2010-01-11 01:35:01 +08:00
|
|
|
|
2014-04-02 08:46:34 +08:00
|
|
|
urlpatterns = [
|
2018-12-08 06:52:28 +08: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-13 06:15:00 +08:00
|
|
|
# Async views.
|
|
|
|
path(
|
|
|
|
"middleware_exceptions/async_exception_in_render/",
|
|
|
|
views.async_exception_in_render,
|
|
|
|
),
|
2014-04-02 08:46:34 +08:00
|
|
|
]
|