From 41f490650eb7d8eed0457ea8ea6e523db8328c5f Mon Sep 17 00:00:00 2001 From: Beda Kosata Date: Tue, 28 Apr 2020 22:38:21 +0200 Subject: [PATCH] add django-prometheus wrapped database engines to the list of supported db engines (#149) --- cachalot/settings.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cachalot/settings.py b/cachalot/settings.py index b6424d1..4e2e4a2 100644 --- a/cachalot/settings.py +++ b/cachalot/settings.py @@ -20,6 +20,11 @@ SUPPORTED_DATABASE_ENGINES = { # TODO: Remove when we drop Django 2.x support. 'transaction_hooks.backends.postgresql_psycopg2', 'transaction_hooks.backends.mysql', + + # django-prometheus wrapped engines + 'django_prometheus.db.backends.sqlite3', + 'django_prometheus.db.backends.postgresql', + 'django_prometheus.db.backends.mysql', } SUPPORTED_CACHE_BACKENDS = {