mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Fixed #31224 -- Added support for asynchronous views and middleware.
This implements support for asynchronous views, asynchronous tests, asynchronous middleware, and an asynchronous test client.
This commit is contained in:
parent
3f7e4b16bf
commit
fc0fa72ff4
30 changed files with 1344 additions and 214 deletions
|
|
@ -8,4 +8,9 @@ urlpatterns = [
|
|||
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),
|
||||
# Async views.
|
||||
path(
|
||||
'middleware_exceptions/async_exception_in_render/',
|
||||
views.async_exception_in_render,
|
||||
),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue