diff --git a/gas/templates/gas/base_form.html b/gas/templates/gas/base_form.html index 41aef89..abb2980 100644 --- a/gas/templates/gas/base_form.html +++ b/gas/templates/gas/base_form.html @@ -16,6 +16,7 @@ {% endblock %} {% endblock %} diff --git a/gas/views.py b/gas/views.py index 2318cb7..b6f748a 100644 --- a/gas/views.py +++ b/gas/views.py @@ -168,7 +168,7 @@ class GASUpdateView(GASMixin, UpdateView): class GASDeleteView(GASMixin, DeleteView): template_name = "gas/delete_confirmation.html" confirmation_text = _("Are your sure you want to delete {object}?") - deleted_text = _("%(obj)s deleted.") + deleted_text = _("{object} deleted.") def get_confirmation_text(self): return self.confirmation_text.format(object=self.object)