Django

Code

Ticket #2315: time_zone_doc.patch

File time_zone_doc.patch, 1.1 kB (added by chad@zetaweb.com, 3 years ago)

doc tweak: postgres' options don't always correlate

  • conf/project_template/settings.py

    old new  
    1616DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3. 
    1717DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3. 
    1818 
    19 # Local time zone for this installation. All choices can be found here: 
    20 # http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE 
    21 # If running in a Windows environment this must be set to the same as your 
    22 # system time zone. 
     19# Local time zone for this installation. Specific choices depend on your 
     20# operating system. On UNIX/Linux, your system timezone is usually set at 
     21# /etc/localtime, with all options available under /usr/share/zoneinfo. On 
     22# Windows this *must* be set to the same as your system time zone. 
    2323TIME_ZONE = 'America/Chicago' 
    2424 
    2525# Language code for this installation. All choices can be found here: