mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +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:
committed by
Mariusz Felisiak
parent
3f7e4b16bf
commit
fc0fa72ff4
@@ -44,4 +44,6 @@ urlpatterns = [
|
||||
path('accounts/no_trailing_slash', RedirectView.as_view(url='login/')),
|
||||
path('accounts/login/', auth_views.LoginView.as_view(template_name='login.html')),
|
||||
path('accounts/logout/', auth_views.LogoutView.as_view()),
|
||||
# Async views.
|
||||
path('async_get_view/', views.async_get_view, name='async_get_view'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user