summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2021-05-14 15:58:45 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-05-18 20:26:44 +0200
commit8cd55021bcb6c9727c1adccd9623fa4acfc0312b (patch)
tree6a5a411a0c07bf88e8c550bb94e4ee9f148ccb26 /docs/topics
parent958cdf65ae90d26236d1815bbba804729595ec7a (diff)
Fixed #32379 -- Started deprecation toward changing default USE_TZ to True.
Co-authored-by: Nick Pope <nick@nickpope.me.uk> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/i18n/timezones.txt15
1 files changed, 10 insertions, 5 deletions
diff --git a/docs/topics/i18n/timezones.txt b/docs/topics/i18n/timezones.txt
index e95b7a29de..7517ae47fc 100644
--- a/docs/topics/i18n/timezones.txt
+++ b/docs/topics/i18n/timezones.txt
@@ -26,11 +26,16 @@ to this problem is to use UTC in the code and use local time only when
interacting with end users.
Time zone support is disabled by default. To enable it, set :setting:`USE_TZ =
-True <USE_TZ>` in your settings file. By default, time zone support uses pytz_,
-which is installed when you install Django; Django also supports the use of
-other time zone implementations like :mod:`zoneinfo` by passing
-:class:`~datetime.tzinfo` objects directly to functions in
-:mod:`django.utils.timezone`.
+True <USE_TZ>` in your settings file.
+
+.. note::
+
+ In Django 5.0, time zone support will be enabled by default.
+
+By default, time zone support uses pytz_, which is installed when you install
+Django; Django also supports the use of other time zone implementations like
+:mod:`zoneinfo` by passing :class:`~datetime.tzinfo` objects directly to
+functions in :mod:`django.utils.timezone`.
.. versionchanged:: 3.2