Skip to content

Commit

Permalink
Changed pagination of organizer page
Browse files Browse the repository at this point in the history
...to show more than one event per page. Maybe this value should become a configurable value in the future.
  • Loading branch information
jfwiebe committed Jan 19, 2017
1 parent 7300c60 commit 18a4826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pretix/presale/views/organizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = 10

def get_queryset(self):
query = Q(is_public=True)
Expand Down

0 comments on commit 18a4826

Please sign in to comment.