summaryrefslogtreecommitdiff
path: root/docs/ref/utils.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-05 11:20:50 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-14 17:50:04 +0100
commitb7dd89ed5389067cb70294682ffef1ba23d33934 (patch)
tree9d1cf97b9fda1ea8798cd543aee9d3f738a931f2 /docs/ref/utils.txt
parent8774b1144c08f18e23381ffae7084dbc05ebfe37 (diff)
Removed versionadded/changed annotations for 3.1.
Diffstat (limited to 'docs/ref/utils.txt')
-rw-r--r--docs/ref/utils.txt30
1 files changed, 0 insertions, 30 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 921aba5de8..f88fc7f9e7 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -43,11 +43,6 @@ need to distinguish caches by the ``Accept-language`` header.
* All other parameters are added with their value, after applying
``str()`` to it.
- .. versionchanged:: 3.1
-
- Support for multiple field names in the ``no-cache`` directive was
- added.
-
.. function:: get_max_age(response)
Returns the max-age from the response Cache-Control header as an integer
@@ -131,10 +126,6 @@ The functions defined in this module share the following properties:
UTC offsets aren't supported; if ``value`` describes one, the result is
``None``.
- .. versionchanged:: 3.1
-
- Support for comma separators for milliseconds was added.
-
.. function:: parse_datetime(value)
Parses a string and returns a :class:`datetime.datetime`.
@@ -142,10 +133,6 @@ The functions defined in this module share the following properties:
UTC offsets are supported; if ``value`` describes one, the result's
``tzinfo`` attribute is a :class:`datetime.timezone` instance.
- .. versionchanged:: 3.1
-
- Support for comma separators for milliseconds was added.
-
.. function:: parse_duration(value)
Parses a string and returns a :class:`datetime.timedelta`.
@@ -155,11 +142,6 @@ The functions defined in this module share the following properties:
``P4DT1H15M20S`` which is equivalent to ``4 1:15:20``) or PostgreSQL's
day-time interval format (e.g. ``3 days 04:05:06``).
- .. versionchanged:: 3.1
-
- Support for comma separators for decimal fractions in the ISO 8601
- format and for the format ``"DD HH:MM:SS,uuuuuu"`` was added.
-
``django.utils.decorators``
===========================
@@ -204,24 +186,18 @@ The functions defined in this module share the following properties:
.. function:: sync_only_middleware(middleware)
- .. versionadded:: 3.1
-
Marks a middleware as :ref:`synchronous-only <async-middleware>`. (The
default in Django, but this allows you to future-proof if the default ever
changes in a future release.)
.. function:: async_only_middleware(middleware)
- .. versionadded:: 3.1
-
Marks a middleware as :ref:`asynchronous-only <async-middleware>`. Django
will wrap it in an asynchronous event loop when it is called from the WSGI
request path.
.. function:: sync_and_async_middleware(middleware)
- .. versionadded:: 3.1
-
Marks a middleware as :ref:`sync and async compatible <async-middleware>`,
this allows to avoid converting requests. You must implement detection of
the current request type to use this decorator. See :ref:`asynchronous
@@ -321,10 +297,6 @@ The functions defined in this module share the following properties:
Returns an ASCII string containing the encoded result.
- .. versionchanged:: 3.1
-
- Support for :class:`pathlib.Path` ``path`` was added.
-
.. function:: escape_uri_path(path)
Escapes the unsafe characters from the path portion of a Uniform Resource
@@ -550,8 +522,6 @@ https://web.archive.org/web/20110718035220/http://diveintomark.org/archives/2004
.. class:: classproperty(method=None)
- .. versionadded:: 3.1
-
Similar to :py:func:`@classmethod <classmethod>`, the ``@classproperty``
decorator converts the result of a method with a single ``cls`` argument
into a property that can be accessed directly from the class.