gestioCOF/kfet/routing.py

14 lines
386 B
Python
Raw Normal View History

2016-09-01 00:45:44 +02:00
# -*- coding: utf-8 -*-
from __future__ import (absolute_import, division,
print_function, unicode_literals)
from builtins import *
from channels.routing import route, route_class
from kfet import consumers
channel_routing = [
2017-01-05 14:27:25 +01:00
route_class(consumers.KPsul, path=r"^/ws/k-fet/k-psul/$"),
2017-02-11 00:29:12 +01:00
route_class(consumers.KfetOpen, path=r"^/ws/k-fet/is_open/$"),
]