gestioCOF/bds/mixins.py
2020-06-29 20:47:36 +02:00

5 lines
156 B
Python

from django.contrib.auth.mixins import PermissionRequiredMixin
class StaffRequiredMixin(PermissionRequiredMixin):
permission_required = "bds:is_team"