aboutsummaryrefslogtreecommitdiff
path: root/settings.py
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2016-03-02 15:31:44 -0600
committerAndy Doan <andy.doan@linaro.org>2016-03-02 15:31:44 -0600
commitce6169d3ef21c6da2ef1948937f81e1f9806dbf9 (patch)
tree7a6cfd17be790fcb1902fb2a548025729ee8cefb /settings.py
parentb0edc1bf77b3eb3a79925b01f52364116aee5d10 (diff)
django 1.8: fix timezone issue
Django 1.8 requires a timezone when using posgtres (ie releases and snapshots were broken). This sets to UTC the new Django default. I also fixed a logging error I noticed while debugging this. Change-Id: Iacb8092620a76837ab881d93363879d6e8199519
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.py b/settings.py
index faf334a..02c5244 100644
--- a/settings.py
+++ b/settings.py
@@ -35,7 +35,7 @@ DATABASES = {
FILE_UPLOAD_PERMISSIONS = 0644
-TIME_ZONE = None
+TIME_ZONE = 'UTC'
# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html