gestioCOF/bds/views.py
2020-05-08 23:34:34 +02:00

10 lines
270 B
Python

from django.contrib.auth.mixins import PermissionRequiredMixin
from django.views.generic import TemplateView
class HomeView(PermissionRequiredMixin, TemplateView):
permission_required = "bds:is_team"
template_name = "bds/home.html"
home = HomeView.as_view()