gestioCOF/kfet/routing.py
2017-01-27 21:46:21 +01:00

14 lines
379 B
Python

# -*- 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 = [
route_class(consumers.KPsul, path=r"^/ws/k-fet/k-psul/$"),
route_class(consumers.Home, path=r"^/ws/k-fet/home/$"),
]