1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #30864 -- Doc'd classproperty decorator.

This commit is contained in:
Deep Sukhwani
2020-03-28 18:52:54 +05:30
committed by Mariusz Felisiak
parent 93ed71e058
commit 4b146e0c83
4 changed files with 15 additions and 2 deletions

View File

@@ -557,8 +557,8 @@ Miscellaneous
``ETag`` header to responses with an empty
:attr:`~django.http.HttpResponse.content`.
* ``django.utils.decorators.classproperty()`` decorator is moved to
``django.utils.functional.classproperty()``.
* ``django.utils.decorators.classproperty()`` decorator is made public and
moved to :class:`django.utils.functional.classproperty()`.
* :tfilter:`floatformat` template filter now outputs (positive) ``0`` for
negative numbers which round to zero.