Commit 03b279631ef59827161f445d7e5e931178d358bb

Authored by Felipe Henrique de Almeida Bormann
1 parent 74520c27

edited update for correcteness

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
categories/views.py
... ... @@ -138,6 +138,7 @@ class UpdateCategory(UpdateView):
138 138  
139 139  
140 140 def get_success_url(self):
  141 + objeto = self.object.name
141 142 messages.success(self.request, _('Category "%s" updated successfully!')%(objeto))
142 143 return reverse_lazy('categories:index')
143 144  
... ...