From 130b6dda76cac67b6ecdf2e836424ee66b061830 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 30 Apr 2016 19:01:17 -0500 Subject: [PATCH] Tweak flash message when record is updated To be more consistent with add/delete. --- tailbone/views/master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/master.py b/tailbone/views/master.py index 0473775d..413b2e33 100644 --- a/tailbone/views/master.py +++ b/tailbone/views/master.py @@ -147,7 +147,7 @@ class MasterView(View): if self.request.method == 'POST': if form.validate(): self.save_edit_form(form) - self.request.session.flash("{0} {1} has been updated.".format( + self.request.session.flash("{} has been updated: {}".format( self.get_model_title(), self.get_instance_title(instance))) return self.redirect_after_edit(instance)