Commit 03fc8cb491c19b6c67b89f69022f7ebf873c121d
1 parent
01978022
Exists in
master
and in
3 other branches
Fixing delete user issue
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
users/views.py
... | ... | @@ -135,7 +135,7 @@ class UpdateView(braces_mixins.LoginRequiredMixin, braces_mixins.StaffuserRequir |
135 | 135 | |
136 | 136 | return context |
137 | 137 | |
138 | -class DeleteView(braces_mixins.LoginRequiredMixin, braces_mixins.StaffuserRequiredMixin, generic.DeleteView): | |
138 | +class DeleteView(braces_mixins.LoginRequiredMixin, generic.DeleteView): | |
139 | 139 | login_url = reverse_lazy("users:login") |
140 | 140 | redirect_field_name = 'next' |
141 | 141 | ... | ... |