Ticket #17733: 17733.patch
File 17733.patch, 1.6 KB (added by , 13 years ago) |
---|
-
docs/ref/settings.txt
2104 2104 :ref:`manually configuring settings 2105 2105 <settings-without-django-settings-module>`, or 2106 2106 2107 * If you specify ``TIME_ZONE = None``. This will cause Django to fall 2108 back to using the system timezone. 2107 * If you specify ``TIME_ZONE = None``. This will cause Django to fall back to 2108 using the system timezone. However, this is discouraged when :setting:`USE_TZ 2109 = True <USE_TZ>`, because it makes conversions between local time and UTC 2110 less reliable. 2109 2111 2110 2112 If Django doesn't set the ``TZ`` environment variable, it's up to you 2111 2113 to ensure your processes are running in the correct environment. -
django/conf/project_template/project_name/settings.py
23 23 # Local time zone for this installation. Choices can be found here: 24 24 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name 25 25 # although not all choices may be available on all operating systems. 26 # On Unix systems, a value of None will cause Django to use the same 27 # timezone as the operating system. 28 # If running in a Windows environment this must be set to the same as your 29 # system time zone. 26 # In a Windows environment this must be set to your system time zone. 30 27 TIME_ZONE = 'America/Chicago' 31 28 32 29 # Language code for this installation. All choices can be found here: