Skip to content

Commit 2201657

Browse files
authored
Convert zip to list for templates (#7359)
1 parent 82b634e commit 2201657

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readthedocs/projects/views/private.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,10 +1066,10 @@ def get_context_data(self, **kwargs):
10661066

10671067
# Count of views for top pages over the month
10681068
top_pages = PageView.top_viewed_pages(project)
1069-
top_viewed_pages = zip(
1069+
top_viewed_pages = list(zip(
10701070
top_pages['pages'],
10711071
top_pages['view_counts']
1072-
)
1072+
))
10731073

10741074
# Aggregate pageviews grouped by day
10751075
page_data = PageView.page_views_by_date(

0 commit comments

Comments
 (0)