Commit dca9ccbe authored by John Red Medrano's avatar John Red Medrano

{bug fix} used re_path instead of url testcase2

parent eb1d7fa4
# chat/routing.py
from django.conf.urls import url
from django.urls import re_path
from app.applicationlayer.management.notification import consumers
websocket_urlpatterns = [
url(r'^ws/chat/(?P<room_name>[^/]+)/$', consumers.ChatConsumer),
url(r'^wss/chat/(?P<room_name>[^/]+)/$', consumers.ChatConsumer),
# url(r'^ws/chat/(?P<room_name>[^/]+)/$', consumers.ChatConsumer),
# url(r'^wss/chat/(?P<room_name>[^/]+)/$', consumers.ChatConsumer),
re_path(r'wss/chat/(?P<room_name>\w+)/$', consumers.ChatConsumer),
]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment