Django

Code

Changeset 957

Show
Ignore:
Timestamp:
10/19/05 11:03:24 (3 years ago)
Author:
adrian
Message:

Added TIME_ZONE and LANGUAGE_CODE to stock settings file created by 'django-admin startproject

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/conf/project_template/settings.py

    r948 r957  
    1717DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3. 
    1818DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3. 
     19 
     20# Local time zone for this installation. All choices can be found here: 
     21# http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE 
     22TIME_ZONE = 'America/Chicago' 
     23 
     24# Language code for this installation. All choices can be found here: 
     25# http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes 
     26# http://blogs.law.harvard.edu/tech/stories/storyReader$15 
     27LANGUAGE_CODE = 'en-us' 
    1928 
    2029SITE_ID = 1