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

This commit is contained in:
Raphael Michel
2026-07-23 19:21:29 +02:00
parent ca03a2556d
commit a5a163e4ea
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):