Removed versionadded/changed annotations for 3.0.

This commit is contained in:
Mariusz Felisiak 2020-05-04 12:29:31 +02:00
parent 3b94f12462
commit 4c5236ef93
39 changed files with 2 additions and 299 deletions

View file

@ -71,21 +71,13 @@ need to distinguish caches by the ``Accept-language`` header.
private`` header to a response to indicate that a page should never be
cached.
.. versionchanged:: 3.0
``private`` directive was added.
.. function:: patch_vary_headers(response, newheaders)
Adds (or updates) the ``Vary`` header in the given ``HttpResponse`` object.
``newheaders`` is a list of header names that should be in ``Vary``. If
headers contains an asterisk, then ``Vary`` header will consist of a single
asterisk ``'*'``. Otherwise, existing headers in ``Vary`` aren't removed.
.. versionchanged:: 3.0
Handling an asterisk ``'*'`` according to :rfc:`7231#section-7.1.4` was
added.
asterisk ``'*'``, according to :rfc:`7231#section-7.1.4`. Otherwise,
existing headers in ``Vary`` aren't removed.
.. function:: get_cache_key(request, key_prefix=None, method='GET', cache=None)
@ -643,11 +635,6 @@ escaping HTML.
for use in HTML. The input is first coerced to a string and the output has
:func:`~django.utils.safestring.mark_safe` applied.
.. versionchanged:: 3.0
In older versions, ``'`` is converted to its decimal code ``'``
instead of the equivalent hex code ``'``.
.. function:: conditional_escape(text)
Similar to ``escape()``, except that it doesn't operate on pre-escaped