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:
parent
8842183448
commit
6daad896fb
|
@ -2110,12 +2110,6 @@ environment variable under the following conditions:
|
|||
If Django doesn't set the ``TZ`` environment variable, it's up to you
|
||||
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::
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue