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):
2020-07-10 22:33:24 +02:00
permission_required = "bds.is_team"