Kaydet (Commit) 6daad896 authored tarafından Aymeric Augustin's avatar Aymeric Augustin

Reverted r17577 because it's actually possible to use a time zone that isn't the…

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
üst 88421834
......@@ -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
......
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