Move user templates into more subdirectories
This commit is contained in:
parent
d2355fef96
commit
862ef83536
11 changed files with 15 additions and 15 deletions
|
@ -68,7 +68,7 @@ class Shelf(View):
|
|||
"books": paginated.get_page(request.GET.get("page")),
|
||||
}
|
||||
|
||||
return TemplateResponse(request, "user/shelf.html", data)
|
||||
return TemplateResponse(request, "user/shelf/shelf.html", data)
|
||||
|
||||
@method_decorator(login_required, name="dispatch")
|
||||
# pylint: disable=unused-argument
|
||||
|
|
|
@ -112,7 +112,7 @@ class Followers(View):
|
|||
"is_self": request.user.id == user.id,
|
||||
"followers": paginated.page(request.GET.get("page", 1)),
|
||||
}
|
||||
return TemplateResponse(request, "user/followers.html", data)
|
||||
return TemplateResponse(request, "user/relationships/followers.html", data)
|
||||
|
||||
|
||||
class Following(View):
|
||||
|
@ -138,7 +138,7 @@ class Following(View):
|
|||
"is_self": request.user.id == user.id,
|
||||
"following": paginated.page(request.GET.get("page", 1)),
|
||||
}
|
||||
return TemplateResponse(request, "user/following.html", data)
|
||||
return TemplateResponse(request, "user/relationships/following.html", data)
|
||||
|
||||
|
||||
@method_decorator(login_required, name="dispatch")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue