
# from django.conf.urls import url
# from . import consumers

# websocket_urlpatterns = [
#     url(r'^ws/chat/$', consumers.ChatConsumer),
# ]

# mysite/routing.py
# chat/routing.py

from django.conf.urls import url
from . import consumers

websocket_urlpatterns = [
    url(r'^ws/chat/$', consumers.ChatConsumer),
]