Added a note about the default timezone and the new project template.

Thanks JonLoy for the draft patch.
This commit is contained in:
Tim Graham 2013-02-10 12:58:42 -05:00
parent 8ef3235034
commit af2bb17470
1 changed files with 6 additions and 0 deletions

View File

@ -1707,6 +1707,12 @@ Default: ``'America/Chicago'``
A string representing the time zone for this installation, or ``None``. See
the `list of time zones`_.
.. note::
Since Django was first released with the :setting:`TIME_ZONE` set to
``'America/Chicago'``, the global setting (used if nothing is defined in
your project's ``settings.py``) remains ``'America/Chicago'`` for backwards
compatibility. New project templates default to ``'UTC'``.
Note that this isn't necessarily the time zone of the server. For example, one
server may serve multiple Django-powered sites, each with a separate time zone
setting.