expephalon/core/views/generic.py
Klaus-Uwe Mitterer 853a49abe8 Implement brands
More administration pages *whoop-whoop*
2020-05-31 14:08:26 +02:00

20 lines
No EOL
491 B
Python

from django.views.generic import TemplateView, ListView, CreateView, FormView, DeleteView, UpdateView
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):
pass