Import urls.py and settings.py #1

Merged
Georg merged 2 commits from libertacasa-saml into libertacasa-master 2022-12-18 17:30:04 +01:00
Showing only changes of commit 9af6b1d051 - Show all commits

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',
}, },
} }