core: add custom group model with hierarchy , add tree admin

This commit is contained in:
Jens Langhammer
2018-12-27 00:38:42 +01:00
parent ebda84bcaf
commit d4a6e28fe6
17 changed files with 284 additions and 58 deletions

View File

@ -0,0 +1,12 @@
"""passbook Group administration"""
from django.views.generic import ListView
from passbook.admin.mixins import AdminRequiredMixin
from passbook.core.models import Group
class GroupListView(AdminRequiredMixin, ListView):
"""Show list of all invitations"""
model = Group
template_name = 'administration/groups/list.html'