Kaydet (Commit) 44f08422 authored tarafından Jon Ribbens's avatar Jon Ribbens Kaydeden (comit) Tim Graham

Fixed #28625 -- Distinguished DATABASES['TIME_ZONE'] from settings.TIME_ZONE.

üst 4508fafe
...@@ -615,8 +615,9 @@ default port. Not used with SQLite. ...@@ -615,8 +615,9 @@ default port. Not used with SQLite.
Default: ``None`` Default: ``None``
A string representing the time zone for datetimes stored in this database A string representing the time zone for datetimes stored in this database
(assuming that it doesn't support time zones) or ``None``. The same values are (assuming that it doesn't support time zones) or ``None``. This inner option of
accepted as in the general :setting:`TIME_ZONE` setting. the :setting:`DATABASES` setting accepts the same values as the general
:setting:`TIME_ZONE` setting.
This allows interacting with third-party databases that store datetimes in This allows interacting with third-party databases that store datetimes in
local time rather than UTC. To avoid issues around DST changes, you shouldn't local time rather than UTC. To avoid issues around DST changes, you shouldn't
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment