diff --git a/dta_service/core/routing.py b/dta_service/core/routing.py new file mode 100644 index 0000000..9fc3cc5 --- /dev/null +++ b/dta_service/core/routing.py @@ -0,0 +1,6 @@ +from django.urls import re_path +from . import consumers + +websocket_urlpatterns = [ + re_path(r'ws/chat/(?P\w+)/$', consumers.ChatConsumer.as_asgi()), +] \ No newline at end of file