Commit 67c5114268df0024f2158dc975dc7f7d4cbf2e03
1 parent
03b27963
Exists in
master
and in
3 other branches
category remove message is working
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
categories/views.py
... | ... | @@ -124,7 +124,7 @@ class DeleteCategory(DeleteView): |
124 | 124 | return super(DeleteCategory, self).delete(self, request, *args, **kwargs) |
125 | 125 | |
126 | 126 | def get_success_url(self): |
127 | - | |
127 | + messages.success(self.request, _('Category removed successfully!')) | |
128 | 128 | return reverse_lazy('categories:index') |
129 | 129 | |
130 | 130 | ... | ... |