Skip to content
Snippets Groups Projects
Verified Commit 14628d57 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Whitelist our databases and caches for cachalot

We must ensure we only use supported backends, but as this contains
PostgreSQL, MySQL and SQLite, I see no blocker there.
parent 468a8351
No related branches found
No related tags found
1 merge request!379Resolve "Test django-cachalot"
Pipeline #4525 passed
...@@ -209,6 +209,8 @@ if _settings.get("caching.memcached.enabled", False): ...@@ -209,6 +209,8 @@ if _settings.get("caching.memcached.enabled", False):
INSTALLED_APPS.append("cachalot") INSTALLED_APPS.append("cachalot")
DEBUG_TOOLBAR_PANELS.append("cachalot.panels.CachalotPanel") DEBUG_TOOLBAR_PANELS.append("cachalot.panels.CachalotPanel")
CACHALOT_TIMEOUT = _settings.get("caching.cachalot.timeout", None) CACHALOT_TIMEOUT = _settings.get("caching.cachalot.timeout", None)
CACHALOT_DATABASES = set(DATABASES.keys())
SILENCED_SYSTEM_CHECKS.append("cachalot.W001")
# Password validation # Password validation
# https://docs.djangoproject.com/en/2.1/ref/settings/#auth-password-validators # https://docs.djangoproject.com/en/2.1/ref/settings/#auth-password-validators
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment