Tweak flash message when record is updated

To be more consistent with add/delete.
This commit is contained in:
Lance Edgar 2016-04-30 19:01:17 -05:00
parent b96c1ebd3a
commit 130b6dda76

View file

@ -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)