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