Changed pagination of organizer page (#385)

* Changed pagination of organizer page

...to show more than one event per page. Maybe this value should become a configurable value in the future.

* Changed pagination to 30
This commit is contained in:
Jan Felix Wiebe
2017-01-20 15:07:35 +01:00
committed by Raphael Michel
parent ec42557305
commit 520b978ab0

View File

@@ -10,7 +10,7 @@ class OrganizerIndex(OrganizerViewMixin, ListView):
model = Event
context_object_name = 'events'
template_name = 'pretixpresale/organizers/index.html'
paginate_by = 1
paginate_by = 30
def get_queryset(self):
query = Q(is_public=True)