diff --git a/SIRH/__pycache__/settings.cpython-312.pyc b/SIRH/__pycache__/settings.cpython-312.pyc index 9626795..d16b79e 100644 Binary files a/SIRH/__pycache__/settings.cpython-312.pyc and b/SIRH/__pycache__/settings.cpython-312.pyc differ diff --git a/SIRH/settings.py b/SIRH/settings.py index a2267cb..2bd49a1 100644 --- a/SIRH/settings.py +++ b/SIRH/settings.py @@ -24,9 +24,9 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = 'django-insecure--wdb9t(77rvyac$_q!n5gw86&0r(0&&j171v9h!-_$jahsza*5' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = False +DEBUG = True -ALLOWED_HOSTS = ["https://support.cerfig.org", "support.cerfig.org"] +ALLOWED_HOSTS = ["*"] # Application definition @@ -83,11 +83,10 @@ WSGI_APPLICATION = 'SIRH.wsgi.application' # 'default': { # 'ENGINE': 'django.db.backends.mysql', # 'NAME': 'sirh', -# 'USER': 'sirh', -# 'PASSWORD': 'sirh-cerfig', -# 'HOST': 'localhost', -# 'PORT': '3306', -# } +# 'USER': 'test', +# 'PASSWORD': 'test-django', +# 'HOST': 'localhost', +# 'PORT': '3306', # } DATABASES = { @@ -97,7 +96,6 @@ DATABASES = { } } - # Password validation # https://docs.djangoproject.com/en/5.2/ref/settings/#auth-password-validators @@ -157,3 +155,5 @@ EMAIL_USE_TLS = False EMAIL_HOST_USER = 'support.it@cerfig.org' EMAIL_HOST_PASSWORD = 'Cerfig2025' DEFAULT_FROM_EMAIL = EMAIL_HOST_USER + + diff --git a/SIRH/templates/SIRH/parts/menu_principal.html b/SIRH/templates/SIRH/parts/menu_principal.html index b9021f3..d2989ce 100644 --- a/SIRH/templates/SIRH/parts/menu_principal.html +++ b/SIRH/templates/SIRH/parts/menu_principal.html @@ -2,6 +2,20 @@ {% load tags_personnaliser %}