From 781c459db3e074d178cbe1d08b2b8a64aa598053 Mon Sep 17 00:00:00 2001 From: Jean-Romain Garnier Date: Fri, 17 Apr 2020 10:30:44 +0000 Subject: [PATCH] Fix string formatting error during email confirmation --- users/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/views.py b/users/views.py index 42dc48e2..233ddaee 100644 --- a/users/views.py +++ b/users/views.py @@ -1063,7 +1063,7 @@ def process_email(request, req): reversion.set_comment("Email confirmation") req.delete() - messages.success(request, _("The %(email)s address was confirmed." % user.email)) + messages.success(request, _("The %s address was confirmed." % user.email)) return redirect(reverse("index")) return form(