gestioCOF/bds/mixins.py

6 lines
156 B
Python
Raw Normal View History

2020-06-07 21:01:54 +02:00
from django.contrib.auth.mixins import PermissionRequiredMixin
class StaffRequiredMixin(PermissionRequiredMixin):
permission_required = "bds:is_team"