🔇(helm) silence some Django system checks

Django logs some security warnings we can ignored when deploying over K8s.
Inspired by fun project, I added the Django setting SILENCED_SYSTEM_CHECKS,
and silenced the two that were logging a lot of warning.
This commit is contained in:
Lebaud Antoine
2024-03-27 12:02:57 +01:00
committed by aleb_the_flash
parent 04c107cfdb
commit 6de24d973b
2 changed files with 2 additions and 0 deletions

View File

@@ -71,6 +71,7 @@ class Base(Configuration):
# Security
ALLOWED_HOSTS = values.ListValue([])
SECRET_KEY = values.Value(None)
SILENCED_SYSTEM_CHECKS = values.ListValue([])
# Application definition
ROOT_URLCONF = "people.urls"