summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorThomas Chaumeny <t.chaumeny@gmail.com>2014-08-30 20:06:38 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-08-31 09:03:53 +0200
commit032c091659666ea63f80f4c2d7f9b8bc72214f18 (patch)
treef946d5627fbc8ca7450edabd238c57f2048bd7e9 /docs/ref
parent8b6cb9d0ddc21e68a1c63b25ceb685151ef21e6f (diff)
Fixed #23388 -- Made django.utils.timezone.override usable as a decorator
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/utils.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index e4164d2d34..c38579cb7a 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -901,6 +901,10 @@ appropriate entities.
``None``, the :ref:`current time zone <default-current-time-zone>` is unset
on entry with :func:`deactivate()` instead.
+ .. versionchanged:: 1.8
+
+ ``override`` is now usable as a function decorator.
+
.. function:: localtime(value, timezone=None)
Converts an aware :class:`~datetime.datetime` to a different time zone,