2020-05-31 12:08:26 +00:00
|
|
|
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):
|
2020-05-31 12:08:26 +00:00
|
|
|
pass
|
|
|
|
|
|
|
|
class BackendUpdateView(AdminMixin, UpdateView):
|
2020-05-21 12:54:59 +00:00
|
|
|
pass
|