parent
6b26e10ea2
commit
edbea9ccff
|
@ -1,11 +1,12 @@
|
||||||
"""passbook Event administration"""
|
"""passbook Event administration"""
|
||||||
|
from django.contrib.auth.mixins import LoginRequiredMixin
|
||||||
from django.views.generic import ListView
|
from django.views.generic import ListView
|
||||||
from guardian.mixins import PermissionListMixin
|
from guardian.mixins import PermissionListMixin
|
||||||
|
|
||||||
from passbook.audit.models import Event
|
from passbook.audit.models import Event
|
||||||
|
|
||||||
|
|
||||||
class EventListView(PermissionListMixin, ListView):
|
class EventListView(PermissionListMixin, LoginRequiredMixin, ListView):
|
||||||
"""Show list of all invitations"""
|
"""Show list of all invitations"""
|
||||||
|
|
||||||
model = Event
|
model = Event
|
||||||
|
|
Reference in New Issue