diff --git a/app/settings.py b/app/settings.py index 1b4174d..0f40b08 100644 --- a/app/settings.py +++ b/app/settings.py @@ -171,6 +171,8 @@ AUTH_PASSWORD_VALIDATORS = map( LDAP = credentials.get_json("LDAP") ANNUAIRE = credentials.get_json("ANNUAIRE") +# FIXME: Add correct email settings + # Development settings if DEBUG: EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend" diff --git a/app/wsgi.py b/app/wsgi.py index b55708f..76da866 100644 --- a/app/wsgi.py +++ b/app/wsgi.py @@ -11,6 +11,6 @@ import os from django.core.wsgi import get_wsgi_application -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'annuaire.settings') +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'app.settings') application = get_wsgi_application() diff --git a/manage.py b/manage.py index ed92cea..f0affb7 100755 --- a/manage.py +++ b/manage.py @@ -5,7 +5,7 @@ import sys def main(): - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "annuaire.settings.prod") + os.environ.setdefault("DJANGO_SETTINGS_MODULE", "app.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: