diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-05-04 12:29:31 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-05-13 09:07:51 +0200 |
| commit | 4c5236ef93db714b63eedcc5a162631a6ca1def9 (patch) | |
| tree | d82b7fc2f36909b2bf05b0aa45a5c30792d812ad /docs/ref/request-response.txt | |
| parent | 3b94f12462d262a812930cf25efe8d8eb07c5c83 (diff) | |
Removed versionadded/changed annotations for 3.0.
Diffstat (limited to 'docs/ref/request-response.txt')
| -rw-r--r-- | docs/ref/request-response.txt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index a769af581b..ad57038e5a 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -202,10 +202,6 @@ All attributes should be considered read-only, unless stated otherwise. {{ request.headers.user_agent }} - .. versionchanged:: 3.0 - - Support for lookups using underscores was added. - .. attribute:: HttpRequest.resolver_match An instance of :class:`~django.urls.ResolverMatch` representing the @@ -684,10 +680,6 @@ or :class:`memoryview`, to the :class:`HttpResponse` constructor:: >>> response = HttpResponse(b'Bytestrings are also accepted.') >>> response = HttpResponse(memoryview(b'Memoryview as well.')) -.. versionchanged:: 3.0 - - Support for :class:`memoryview` was added. - But if you want to add content incrementally, you can use ``response`` as a file-like object:: @@ -812,10 +804,6 @@ Methods given it will be extracted from ``content_type``, and if that is unsuccessful, the :setting:`DEFAULT_CHARSET` setting will be used. - .. versionchanged:: 3.0 - - Support for :class:`memoryview` ``content`` was added. - .. method:: HttpResponse.__setitem__(header, value) Sets the given header name to the given value. Both ``header`` and |
