Move a couple settings to the .env file.

This commit is contained in:
Josh Washburne 2019-05-20 15:56:44 -04:00
parent 5bb6be7a1d
commit beaaa0adbe

View file

@ -74,6 +74,9 @@ SITE_ID = 1
STATIC_URL = '/static/'
STATIC_ROOT = config('STATIC_ROOT',
default=os.path.join(PROJECT_DIR, 'static/'))
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
@ -90,7 +93,7 @@ TEMPLATES = [
},
]
TIME_ZONE = 'America/New_York'
TIME_ZONE = config('TIME_ZONE', default='America/New_York')
USE_I18N = True