Ticket #17733: 17733.patch

File 17733.patch, 1.6 KB (added by Aymeric Augustin, 13 years ago)
  • docs/ref/settings.txt

     
    21042104  :ref:`manually configuring settings
    21052105  <settings-without-django-settings-module>`, or
    21062106
    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.
    21092111
    21102112If Django doesn't set the ``TZ`` environment variable, it's up to you
    21112113to ensure your processes are running in the correct environment.
  • django/conf/project_template/project_name/settings.py

     
    2323# Local time zone for this installation. Choices can be found here:
    2424# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
    2525# 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.
    3027TIME_ZONE = 'America/Chicago'
    3128
    3229# Language code for this installation. All choices can be found here:
Back to Top