mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-25 01:20:35 +00:00
style: run linter
This commit is contained in:
parent
3d29524e29
commit
54aea0654a
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ class UserAdmin(View):
|
||||||
data = {"user": user, "group_form": form}
|
data = {"user": user, "group_form": form}
|
||||||
return TemplateResponse(request, "settings/users/user.html", data)
|
return TemplateResponse(request, "settings/users/user.html", data)
|
||||||
|
|
||||||
|
|
||||||
@method_decorator(login_required, name="dispatch")
|
@method_decorator(login_required, name="dispatch")
|
||||||
@method_decorator(
|
@method_decorator(
|
||||||
permission_required("bookwyrm.moderate_user", raise_exception=True),
|
permission_required("bookwyrm.moderate_user", raise_exception=True),
|
||||||
|
|
Loading…
Reference in a new issue