expephalon/core/views/backend/generic.py

21 lines
492 B
Python
Raw Normal View History

from django.views.generic import TemplateView, ListView, CreateView, FormView, DeleteView, UpdateView
2020-06-03 15:05:18 +00:00
2020-05-21 12:54:59 +00:00
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
class BackendUpdateView(AdminMixin, UpdateView):
2020-05-21 12:54:59 +00:00
pass