From 8cd55021bcb6c9727c1adccd9623fa4acfc0312b Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Fri, 14 May 2021 15:58:45 +0200 Subject: Fixed #32379 -- Started deprecation toward changing default USE_TZ to True. Co-authored-by: Nick Pope Co-authored-by: Mariusz Felisiak --- docs/topics/i18n/timezones.txt | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'docs/topics') 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 ` 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 ` 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 -- cgit v1.3