from django.conf.urls import url from ..consumers import BaNuBaseConsumer from otree.channels.routing import websocket_routes websocket_routes += [ url(r'^BaNu_base/(?P[\w,]+)/$', BaNuBaseConsumer), ] # Uncomment this line to print websocket_routes for troubleshooting # print("websocket_routes="+str(websocket_routes))