Minor fixes

This commit is contained in:
Martin Pépin 2017-10-13 14:40:16 +02:00
parent 87eddec5ec
commit bad1d57bf0
2 changed files with 5 additions and 1 deletions

View file

View file

@ -9,7 +9,11 @@ https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
"""
import os
os.environ["DJANGO_SETTINGS_MODULE"] = "Ernestophone.settings"
os.environ.setdefault(
"DJANGO_SETTINGS_MODULE",
"Ernestophone.settings.prod"
)
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()