fix: annuaire -> app
This commit is contained in:
parent
31ee1ba03e
commit
6c8ddb847b
3 changed files with 4 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue