diff --git a/aleksis/core/settings.py b/aleksis/core/settings.py index 35758dca54ab27e5a82a7fa5e962e1e4231ef372..eb24f076df6a414052e2e5a29d9dfbf8af5c7083 100644 --- a/aleksis/core/settings.py +++ b/aleksis/core/settings.py @@ -30,6 +30,8 @@ _settings = LazySettings( # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) +SILENCED_SYSTEM_CHECKS = [] + # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = _settings.get("secret_key", "DoNotUseInProduction") @@ -582,6 +584,8 @@ LOGGING = { GUARDIAN_RAISE_403 = True ANONYMOUS_USER_NAME = None +SILENCED_SYSTEM_CHECKS.append("guardian.W001") + # Append authentication backends AUTHENTICATION_BACKENDS.append("rules.permissions.ObjectPermissionBackend")