Kaydet (Commit) abec2ad1 authored tarafından Sergey Fedoseev's avatar Sergey Fedoseev Kaydeden (comit) Tim Graham

[2.1.x] Corrected cached_property() signature in docs.

Backport of 82b9708c from master
üst c1ac9c5e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment