fmartingr
/
shelfzilla
Archived
1
0
Fork 0

Issue #75 (Solved)

This commit is contained in:
Calendal 2015-09-07 13:32:26 +00:00
parent 10f913436c
commit 2a87cacafd
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ class HomepageView(View):
# TOP 5
data['TOP_5_COLLECTORS'] = get_user_model().objects.filter(pk__gt=1)\
.annotate(num_volumes=Count('have_volumes'))\
.order_by('-num_volumes')[:5]
.order_by('-num_volumes')[:10]
# Latest manga
data['LATEST_MANGA_ADDED'] = Volume.objects\
@ -37,4 +37,4 @@ class HomepageView(View):
}
ctx = RequestContext(request, data)
return render_to_response(self.template, context_instance=ctx)
return render_to_response(self.template, context_instance=ctx)