all: implement black as code formatter
This commit is contained in:
@ -9,10 +9,10 @@ class EventListView(PermissionListMixin, ListView):
|
||||
"""Show list of all invitations"""
|
||||
|
||||
model = Event
|
||||
template_name = 'administration/audit/list.html'
|
||||
permission_required = 'passbook_audit.view_event'
|
||||
ordering = '-created'
|
||||
template_name = "administration/audit/list.html"
|
||||
permission_required = "passbook_audit.view_event"
|
||||
ordering = "-created"
|
||||
paginate_by = 10
|
||||
|
||||
def get_queryset(self):
|
||||
return Event.objects.all().order_by('-created')
|
||||
return Event.objects.all().order_by("-created")
|
||||
|
||||
Reference in New Issue
Block a user