diff options
Diffstat (limited to 'docs/topics/http')
| -rw-r--r-- | docs/topics/http/middleware.txt | 6 | ||||
| -rw-r--r-- | docs/topics/http/urls.txt | 4 | ||||
| -rw-r--r-- | docs/topics/http/views.txt | 2 |
3 files changed, 0 insertions, 12 deletions
diff --git a/docs/topics/http/middleware.txt b/docs/topics/http/middleware.txt index 1626d16992..ac440a9fca 100644 --- a/docs/topics/http/middleware.txt +++ b/docs/topics/http/middleware.txt @@ -291,8 +291,6 @@ object with a :attr:`~django.http.HttpResponse.status_code` of 404. Asynchronous support ==================== -.. versionadded:: 3.1 - Middleware can support any combination of synchronous and asynchronous requests. Django will adapt requests to fit the middleware's requirements if it cannot support both, but at a performance penalty. @@ -423,7 +421,3 @@ These are the behavioral differences between using :setting:`MIDDLEWARE` and HTTP response, and then the next middleware in line will see that response. Middleware are never skipped due to a middleware raising an exception. - -.. versionchanged:: 3.1 - - Support for asynchronous requests was added to the ``MiddlewareMixin``. diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index 31671db81d..6ab915cfd0 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -157,10 +157,6 @@ A converter is a class that includes the following: and as a consequence :func:`~django.urls.reverse` will raise :class:`~django.urls.NoReverseMatch` unless another URL pattern matches. - .. versionchanged:: 3.1 - - Support for raising ``ValueError`` to indicate no match was added. - For example:: class FourDigitYearConverter: diff --git a/docs/topics/http/views.txt b/docs/topics/http/views.txt index 554e93386c..656d1ce155 100644 --- a/docs/topics/http/views.txt +++ b/docs/topics/http/views.txt @@ -208,8 +208,6 @@ in a test view. For example:: Async views =========== -.. versionadded:: 3.1 - As well as being synchronous functions, views can also be asynchronous ("async") functions, normally defined using Python's ``async def`` syntax. Django will automatically detect these and run them in an async context. |
