Mercurial > hg > stickjan
changeset 1:5fa205356c5c
Setup basic Django configs
author | Jordi <jordigh@stickjan.com> |
---|---|
date | Sun, 18 May 2014 23:58:56 +0000 |
parents | b79a1205e2c6 |
children | d96c564cb849 |
files | settings.py |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/settings.py +++ b/settings.py @@ -94,7 +94,10 @@ # Hosts/domain names that are valid for this site; required if DEBUG is False # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = [ + '.stickjan.com', + '.stickjan.com.', + ] # Local time zone for this installation. Choices can be found here: # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name @@ -103,7 +106,7 @@ # 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 = None +TIME_ZONE = 'America/Montreal' # If you set this to True, Django will use timezone-aware datetimes. USE_TZ = True