feat(settings): Update
- Decrease the log verbosity - Make STATIC_ROOT optional - Move a CAS setting with the others
This commit is contained in:
parent
dd5399c9be
commit
220ef6dd1e
1 changed files with 4 additions and 4 deletions
|
@ -87,9 +87,7 @@ CAS_WARN_TEMPLATE = "cas_eleves/warn.html"
|
|||
STATIC_URL = "/static/"
|
||||
STATICFILES_DIRS = [BASE_DIR / "cas_eleves" / "static"]
|
||||
|
||||
STATIC_ROOT = credentials["STATIC_ROOT"]
|
||||
|
||||
CAS_SHOW_SERVICE_MESSAGES = False
|
||||
STATIC_ROOT = credentials.get("STATIC_ROOT")
|
||||
|
||||
###
|
||||
# WSGI application configuration
|
||||
|
@ -159,7 +157,7 @@ LOGGING = {
|
|||
},
|
||||
"root": {
|
||||
"handlers": ["console"],
|
||||
"level": "DEBUG",
|
||||
"level": "WARNING",
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -183,5 +181,7 @@ CAS_LDAP_USER_QUERY = "(uid=%s)"
|
|||
CAS_LDAP_USERNAME_ATTR = "uid"
|
||||
CAS_LDAP_PASSWORD_CHECK = "bind"
|
||||
|
||||
CAS_SHOW_SERVICE_MESSAGES = False
|
||||
|
||||
CAS_NEW_VERSION_EMAIL_WARNING = False
|
||||
CAS_NEW_VERSION_HTML_WARNING = False
|
||||
|
|
Loading…
Reference in a new issue