gestioCOF/bds/views.py

11 lines
270 B
Python
Raw Permalink Normal View History

2020-05-08 19:06:51 +02:00
from django.contrib.auth.mixins import PermissionRequiredMixin
2019-12-21 19:55:07 +01:00
from django.views.generic import TemplateView
2020-05-08 19:06:51 +02:00
class HomeView(PermissionRequiredMixin, TemplateView):
permission_required = "bds:is_team"
template_name = "bds/home.html"
home = HomeView.as_view()