Tweak flash message when record is updated
To be more consistent with add/delete.
This commit is contained in:
parent
b96c1ebd3a
commit
130b6dda76
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue