Move a couple settings to the .env file.
This commit is contained in:
parent
5bb6be7a1d
commit
beaaa0adbe
1 changed files with 4 additions and 1 deletions
|
@ -74,6 +74,9 @@ SITE_ID = 1
|
||||||
|
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
|
|
||||||
|
STATIC_ROOT = config('STATIC_ROOT',
|
||||||
|
default=os.path.join(PROJECT_DIR, 'static/'))
|
||||||
|
|
||||||
TEMPLATES = [
|
TEMPLATES = [
|
||||||
{
|
{
|
||||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
'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
|
USE_I18N = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue