Fixed typo in 4.0 release notes.

This commit is contained in:
Jero Bado 2021-09-22 19:19:20 +08:00 committed by Carlton Gibson
parent 48924966e2
commit 3f2170f720
1 changed files with 4 additions and 4 deletions

View File

@ -48,10 +48,10 @@ current timezone, conversion of datetime instances to the current timezone in
forms and templates, as well as operations on aware datetimes in UTC are forms and templates, as well as operations on aware datetimes in UTC are
unaffected. unaffected.
However, if you are you are working with non-UTC time zones, and using the However, if you are working with non-UTC time zones, and using the ``pytz``
``pytz`` ``normalize()`` and ``localize()`` APIs, possibly with the ``normalize()`` and ``localize()`` APIs, possibly with the :setting:`TIME_ZONE
:setting:`TIME_ZONE <DATABASE-TIME_ZONE>` setting, you will need to audit your <DATABASE-TIME_ZONE>` setting, you will need to audit your code, since ``pytz``
code, since ``pytz`` and ``zoneinfo`` are not entirely equivalent. and ``zoneinfo`` are not entirely equivalent.
To give time for such an audit, the transitional :setting:`USE_DEPRECATED_PYTZ` To give time for such an audit, the transitional :setting:`USE_DEPRECATED_PYTZ`
setting allows continued use of ``pytz`` during the 4.x release cycle. This setting allows continued use of ``pytz`` during the 4.x release cycle. This