From edbea9ccff7ab53a6409d3be07bc5562fda399c9 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 15 Jul 2020 18:34:53 +0200 Subject: [PATCH] audit: fix list not having loginrequired closes #127 --- passbook/audit/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/passbook/audit/views.py b/passbook/audit/views.py index 90599db49..da437888a 100644 --- a/passbook/audit/views.py +++ b/passbook/audit/views.py @@ -1,11 +1,12 @@ """passbook Event administration""" +from django.contrib.auth.mixins import LoginRequiredMixin from django.views.generic import ListView from guardian.mixins import PermissionListMixin from passbook.audit.models import Event -class EventListView(PermissionListMixin, ListView): +class EventListView(PermissionListMixin, LoginRequiredMixin, ListView): """Show list of all invitations""" model = Event