diff options
Diffstat (limited to 'docs/ref/utils.txt')
| -rw-r--r-- | docs/ref/utils.txt | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 2a8a8357fb..c70c374a63 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -427,7 +427,7 @@ https://web.archive.org/web/20110718035220/http://diveintomark.org/archives/2004 .. module:: django.utils.functional :synopsis: Functional programming tools. -.. class:: cached_property(func, name=None) +.. class:: cached_property(func) The ``@cached_property`` decorator caches the result of a method with a single ``self`` argument as a property. The cached result will persist @@ -509,11 +509,6 @@ 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`` |
