From 1833e8fdb411da49247c23230abe6b5a42c4f6cd Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sat, 12 Jun 2021 08:48:55 +0200 Subject: [PATCH] Success message after database change --- cps/admin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cps/admin.py b/cps/admin.py index f201efc8..587a7531 100644 --- a/cps/admin.py +++ b/cps/admin.py @@ -1307,6 +1307,8 @@ def _db_configuration_result(error_flash=None, gdrive_error=None): log.error(error_flash) config.load() flash(error_flash, category="error") + elif request.method == "POST" and not gdrive_error: + flash(_("Database Settings updated"), category="success") return render_title_template("config_db.html", config=config,