Issue #75 (Solved)
This commit is contained in:
parent
10f913436c
commit
2a87cacafd
|
@ -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)
|
Reference in New Issue