from channels.routing import route from .consumers import ws_message, ws_connect, ws_disconnect from otree.channels.routing import channel_routing from channels.routing import include, route_class auction_ebayAll_routing = [route("websocket.connect", ws_connect, path=r'^/(?P\w+)$'), route("websocket.receive", ws_message, path=r'^/(?P\w+)$'), route("websocket.disconnect", ws_disconnect, path=r'^/(?P\w+)$'), ] channel_routing += [ include(auction_ebayAll_routing, path=r"^/AuctionEbayAll"), ]