From fc0fa72ff4cdbf5861a366e31cb8bbacd44da22d Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Wed, 12 Feb 2020 15:15:00 -0700 Subject: Fixed #31224 -- Added support for asynchronous views and middleware. This implements support for asynchronous views, asynchronous tests, asynchronous middleware, and an asynchronous test client. --- tests/test_client/urls.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/test_client/urls.py') diff --git a/tests/test_client/urls.py b/tests/test_client/urls.py index 61cbe00547..16cca52c38 100644 --- a/tests/test_client/urls.py +++ b/tests/test_client/urls.py @@ -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'), ] -- cgit v1.3