Reverted r17577 because it's actually possible to use a time zone that isn't the system time zone without pytz, thanks to the TZ environment variable.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Aymeric Augustin 2012-02-22 21:42:50 +00:00
parent 8842183448
commit 6daad896fb
1 changed files with 0 additions and 6 deletions

View File

@ -2110,12 +2110,6 @@ environment variable under the following conditions:
If Django doesn't set the ``TZ`` environment variable, it's up to you If Django doesn't set the ``TZ`` environment variable, it's up to you
to ensure your processes are running in the correct environment. to ensure your processes are running in the correct environment.
.. note::
When time zone support is enabled (:setting:`USE_TZ = True <USE_TZ>`),
Django needs a definition of the default time zone. Therefore, you must
either install pytz_ (which is recommended) or set :setting:`TIME_ZONE`
to the system time zone.
.. note:: .. note::
Django cannot reliably use alternate time zones in a Windows environment. Django cannot reliably use alternate time zones in a Windows environment.
If you're running Django on Windows, :setting:`TIME_ZONE` must be set to If you're running Django on Windows, :setting:`TIME_ZONE` must be set to