gestioCOF/kfet/consumers.py
2018-01-06 16:10:13 +01:00

6 lines
194 B
Python

from .utils import DjangoJsonWebsocketConsumer, PermConsumerMixin
class KPsul(PermConsumerMixin, DjangoJsonWebsocketConsumer):
groups = ['kfet.kpsul']
perms_connect = ['kfet.is_team']