diff options
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/functional.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/django/utils/functional.py b/django/utils/functional.py index bc3b65b709..6d38f932f9 100644 --- a/django/utils/functional.py +++ b/django/utils/functional.py @@ -50,6 +50,10 @@ class cached_property: class classproperty: + """ + Decorator that converts a method with a single cls argument into a property + that can be accessed directly from the class. + """ def __init__(self, method=None): self.fget = method |
