forked from mirrors/bookwyrm
Renames function for loading lists
This commit is contained in:
parent
9f6918767b
commit
906e0c9c7c
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ class ListsStream(RedisStore):
|
|||
lists = user.list_set.all()
|
||||
self.bulk_remove_objects_from_store(lists, self.stream_id(viewer))
|
||||
|
||||
def get_activity_stream(self, user):
|
||||
def get_list_stream(self, user):
|
||||
"""load the lists to be displayed"""
|
||||
lists = self.get_store(self.stream_id(user))
|
||||
return (
|
||||
|
|
|
@ -30,7 +30,7 @@ class Lists(View):
|
|||
|
||||
def get(self, request):
|
||||
"""display a book list"""
|
||||
lists = ListsStream().get_activity_stream(request.user)
|
||||
lists = ListsStream().get_list_stream(request.user)
|
||||
paginated = Paginator(lists, 12)
|
||||
data = {
|
||||
"lists": paginated.get_page(request.GET.get("page")),
|
||||
|
|
Loading…
Reference in a new issue