Display more map in home, now that we have endless pagination

This commit is contained in:
Yohan Boniface 2012-12-07 13:42:32 +01:00
parent cacbbc416f
commit 028323bf3d

View file

@ -8,7 +8,7 @@ class Home(TemplateView):
list_template_name = "chickpea/map_list.html" list_template_name = "chickpea/map_list.html"
def get_context_data(self, **kwargs): def get_context_data(self, **kwargs):
maps = Map.objects.all()[:20] maps = Map.objects.all()[:100]
return { return {
"maps": maps "maps": maps
} }