Fixes syntax problem on http raises
This commit is contained in:
parent
84443c7f81
commit
e6ae500569
8 changed files with 10 additions and 11 deletions
|
@ -105,7 +105,7 @@ def moderator_delete_user(request, user_id):
|
|||
|
||||
# we can't delete users on other instances
|
||||
if not user.local:
|
||||
raise PermissionDenied
|
||||
raise PermissionDenied()
|
||||
|
||||
form = forms.DeleteUserForm(request.POST, instance=user)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue