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
1 changed files with 0 additions and 3 deletions

View File

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