From 2ce31dfaa562442c9f09ce84517b79b191276752 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 16 May 2020 14:54:18 +0200 Subject: [PATCH] root: upgrade django-dbbackup --- Pipfile.lock | 4 ++-- passbook/root/settings.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Pipfile.lock b/Pipfile.lock index 3791e7d2c..ad2ec6b47 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -185,10 +185,10 @@ }, "django-dbbackup": { "hashes": [ - "sha256:9470e5d8bdaee4feb878b1b66c59eb9b27a131cccd648bf7cbfe70930acd4fc0" + "sha256:bb109735cae98b64ad084e5b461b7aca2d7b39992f10c9ed9435e3ebb6fb76c8" ], "index": "pypi", - "version": "==3.2.0" + "version": "==3.3.0" }, "django-filter": { "hashes": [ diff --git a/passbook/root/settings.py b/passbook/root/settings.py index e3ac2eeec..aee1b6be8 100644 --- a/passbook/root/settings.py +++ b/passbook/root/settings.py @@ -248,8 +248,8 @@ CELERY_RESULT_BACKEND = ( if CONFIG.y("postgresql.backup"): INSTALLED_APPS += ["dbbackup"] DBBACKUP_STORAGE = "storages.backends.s3boto3.S3Boto3Storage" - DBBACKUP_CONNECTORS = { - "default": {"CONNECTOR": "dbbackup.db.postgresql.PgDumpConnector"} + DBBACKUP_CONNECTOR_MAPPING = { + "django_prometheus.db.backends.postgresql": "dbbackup.db.postgresql.PgDumpConnector" } AWS_ACCESS_KEY_ID = CONFIG.y("postgresql.backup.access_key") AWS_SECRET_ACCESS_KEY = CONFIG.y("postgresql.backup.secret_key")