expephalon/core/views/generic.py

17 lines
420 B
Python
Raw Normal View History

2020-05-21 12:54:59 +00:00
from django.views.generic import TemplateView, ListView, CreateView, FormView, DeleteView
from core.mixins.auth import AdminMixin
class BackendTemplateView(AdminMixin, TemplateView):
pass
class BackendListView(AdminMixin, ListView):
pass
class BackendCreateView(AdminMixin, CreateView):
pass
class BackendFormView(AdminMixin, FormView):
pass
class BackendDeleteView(AdminMixin, DeleteView):
pass