summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2018-07-06 17:56:13 +0500
committerTim Graham <timograham@gmail.com>2018-07-06 08:56:30 -0400
commitabec2ad18dd24df78364c1ffb4e8aca6990032db (patch)
treecb7e276a91938990d556cafd2b699292c5e73512 /docs/ref
parentc1ac9c5ea38e26f2b017cc618918a9283fd55f56 (diff)
[2.1.x] Corrected cached_property() signature in docs.
Backport of 82b9708c6f77d1a4b7b4236234065799370be245 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/utils.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index cde619e315..fd9a12f58d 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -426,7 +426,7 @@ https://web.archive.org/web/20110718035220/http://diveintomark.org/archives/2004
.. module:: django.utils.functional
:synopsis: Functional programming tools.
-.. class:: cached_property(object, name)
+.. class:: cached_property(func, name=None)
The ``@cached_property`` decorator caches the result of a method with a
single ``self`` argument as a property. The cached result will persist