mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
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:
committed by
Raphael Michel
parent
ec42557305
commit
520b978ab0
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user