academon/core/views/frontend.py
2022-08-08 09:43:31 +00:00

16 lines
No EOL
521 B
Python

from django.views.generic import TemplateView
from django.contrib.auth.mixins import LoginRequiredMixin
from ..mixins import StaffRequiredMixin, TitleMixin
class FrontendTemplateView(TitleMixin, TemplateView):
pass
class NotImplementedView(LoginRequiredMixin, FrontendTemplateView):
title = "Not fully implemented"
template_name = "core/frontend/notimplemented.html"
class DashboardView(LoginRequiredMixin, FrontendTemplateView):
title = "Dashboard"
template_name = "core/frontend/dashboard.html"