diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 3 | ||||
| -rw-r--r-- | docs/ref/utils.txt | 5 | ||||
| -rw-r--r-- | docs/releases/4.1.txt | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 7ee87d448a..3a3abfeb42 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -69,6 +69,9 @@ details on these changes. * The ``CSRF_COOKIE_MASKED`` transitional setting will be removed. +* The ``name`` argument of ``django.utils.functional.cached_property()`` will + be removed. + .. _deprecation-removed-in-4.1: 4.1 diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 0b68411e27..39c8e341ad 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -508,6 +508,11 @@ https://web.archive.org/web/20110718035220/http://diveintomark.org/archives/2004 z = person.friends # does not call x is z # is True + .. deprecated:: 4.1 + + The ``name`` parameter is deprecated and will be removed in Django 5.0 + as it's unnecessary as of Python 3.6. + .. class:: classproperty(method=None) Similar to :py:func:`@classmethod <classmethod>`, the ``@classproperty`` diff --git a/docs/releases/4.1.txt b/docs/releases/4.1.txt index ee21c63a38..f2a168db40 100644 --- a/docs/releases/4.1.txt +++ b/docs/releases/4.1.txt @@ -346,6 +346,9 @@ Miscellaneous * ``CSRF_COOKIE_MASKED`` transitional setting is deprecated. +* The ``name`` argument of :func:`django.utils.functional.cached_property` is + deprecated as it's unnecessary as of Python 3.6. + Features removed in 4.1 ======================= |
