Increase number of sessions shown

This commit is contained in:
Tanner Collin 2022-01-21 21:30:20 +00:00
parent 64a9d2b02e
commit 69126440d3

View File

@ -245,7 +245,7 @@ class SessionViewSet(Base, List, Retrieve, Create, Update):
def get_queryset(self): def get_queryset(self):
if self.action == 'list': if self.action == 'list':
return models.Session.objects.order_by('-datetime')[:20] return models.Session.objects.order_by('-datetime')[:50]
else: else:
return models.Session.objects.all() return models.Session.objects.all()