Merge pull request #81 from grzegorz-dubicki/master

Move time zone settting to conf file
This commit is contained in:
dbuxton 2014-07-14 10:01:25 +01:00
commit f7e3851d5d
3 changed files with 11 additions and 1 deletions

View File

@ -27,7 +27,7 @@ USE_TZ = True
# timezone as the operating system.
# If running in a Windows environment this must be set to the same as your
# system time zone.
TIME_ZONE = 'Europe/London'
TIME_ZONE = os.environ.get('TIME_ZONE', 'Etc/UTC')
# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html

View File

@ -6,6 +6,11 @@ LOG_FILE=/dev/null
PORT=5001
# You shouldn't need to change anything above this line
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
TIME_ZONE=Etc/UTC
# Django admin email
ADMIN_EMAIL=you@example.com
CABOT_FROM_EMAIL=cabot@example.com

View File

@ -6,6 +6,11 @@ PORT=5000
VENV=/home/ubuntu/venv
# You shouldn't need to change anything above this line
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
TIME_ZONE=Etc/UTC
# Django admin email
ADMIN_EMAIL=you@example.com
CABOT_FROM_EMAIL=noreply@example.com