audit: *crit* fix audit log not being protected correctly

This commit is contained in:
Jens Langhammer 2020-02-21 21:33:42 +01:00
parent 80d361ccd2
commit efd88c27ad

View file

@ -13,6 +13,3 @@ class EventListView(PermissionListMixin, ListView):
permission_required = "passbook_audit.view_event"
ordering = "-created"
paginate_by = 10
def get_queryset(self):
return Event.objects.all().order_by("-created")