Disable debug mode

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2022-12-18 17:13:33 +01:00
parent 7819d7980b
commit 9af6b1d051
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57

View File

@ -65,7 +65,7 @@ class Settings(BaseSettings):
ENVIRONMENT: Environments = "production" ENVIRONMENT: Environments = "production"
#: Should django run in debug mode? #: Should django run in debug mode?
DEBUG: bool = True DEBUG: bool = False
#: Set a secret key used for signing values such as sessions. Randomized #: Set a secret key used for signing values such as sessions. Randomized
#: by default, so you'll logout everytime the process restarts. #: by default, so you'll logout everytime the process restarts.
@ -467,7 +467,7 @@ SAML_CONFIG = {
'remote': [{"url": "https://libsso.net/realms/LibertaCasa/protocol/saml/descriptor"},], 'remote': [{"url": "https://libsso.net/realms/LibertaCasa/protocol/saml/descriptor"},],
}, },
'debug': 1, 'debug': 0,
'key_file': '__REPLACE_ME__', # private part 'key_file': '__REPLACE_ME__', # private part
'cert_file': '__REPLACE_ME__', # public part 'cert_file': '__REPLACE_ME__', # public part
@ -489,6 +489,6 @@ LOGGING = {
}, },
'root': { 'root': {
'handlers': ['console'], 'handlers': ['console'],
'level': 'DEBUG', 'level': 'INFO',
}, },
} }