Log view: Disable counting the number of pages (Z#23241035) (#6414)

This commit is contained in:
Raphael Michel
2026-07-24 12:17:48 +02:00
committed by GitHub
parent ca03a2556d
commit 351d2055f8
4 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -121,7 +121,7 @@ from ...helpers.format import (
)
from ..forms.filter import LogFilterForm
from ..logdisplay import OVERVIEW_BANLIST
from . import CreateView, PaginationMixin, UpdateView
from . import CreateView, LargeResultSetPaginator, PaginationMixin, UpdateView
logger = logging.getLogger(__name__)
@@ -1254,6 +1254,7 @@ class EventDelete(RecentAuthenticationRequiredMixin, EventPermissionRequiredMixi
class EventLog(EventPermissionRequiredMixin, PaginationMixin, ListView):
template_name = 'pretixcontrol/event/logs.html'
model = LogEntry
paginator_class = LargeResultSetPaginator
context_object_name = 'logs'
def get_queryset(self):