diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-01-12 13:00:18 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-01-17 11:49:15 +0100 |
| commit | 5c10041f4636c3dfe637924ab24da85dd657d790 (patch) | |
| tree | 18d7e7628e60a592bf7f74d11a5db4b3a5676b2d /docs/ref/utils.txt | |
| parent | e01970e9d23a241473671ea26126f8440db4dead (diff) | |
Refs #30127 -- Removed name argument for django.utils.functional.cached_property().
Per deprecation timeline.
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`` |
