audit: *crit* fix audit log not being protected correctly
This commit is contained in:
parent
80d361ccd2
commit
efd88c27ad
|
@ -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")
|
||||
|
|
Reference in New Issue