fix: annuaire -> app

This commit is contained in:
Tom Hubrecht 2024-10-21 19:45:23 +02:00
parent 31ee1ba03e
commit 6c8ddb847b
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc
3 changed files with 4 additions and 2 deletions

View file

@ -171,6 +171,8 @@ AUTH_PASSWORD_VALIDATORS = map(
LDAP = credentials.get_json("LDAP") LDAP = credentials.get_json("LDAP")
ANNUAIRE = credentials.get_json("ANNUAIRE") ANNUAIRE = credentials.get_json("ANNUAIRE")
# FIXME: Add correct email settings
# Development settings # Development settings
if DEBUG: if DEBUG:
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend" EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"

View file

@ -11,6 +11,6 @@ import os
from django.core.wsgi import get_wsgi_application 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() application = get_wsgi_application()

View file

@ -5,7 +5,7 @@ import sys
def main(): def main():
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "annuaire.settings.prod") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "app.settings")
try: try:
from django.core.management import execute_from_command_line from django.core.management import execute_from_command_line
except ImportError as exc: except ImportError as exc: