Compare commits

...

1 commit

Author SHA1 Message Date
6c8ddb847b
fix: annuaire -> app 2024-10-21 19:54:27 +02:00
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: