fix des permissions
This commit is contained in:
parent
56076ab391
commit
d8bc39bbd2
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class DeleteCategory(PermissionRequiredMixin, generic.DeleteView):
|
|||
model = Category
|
||||
success_url = reverse_lazy('settings:index')
|
||||
template_name = "confirm_delete.html"
|
||||
permission_required = 'content.del_category'
|
||||
permission_required = 'content.delete_category'
|
||||
|
||||
|
||||
class EditCategory(PermissionRequiredMixin, generic.UpdateView):
|
||||
|
|
Loading…
Reference in a new issue