7 lines
150 B
Python
7 lines
150 B
Python
|
from django.urls import re_path
|
||
|
from . import consumers
|
||
|
|
||
|
websocket_urlpatterns = [
|
||
|
re_path(r'ws/socket-server/', consumers.ChatConsumer.as_asgi())
|
||
|
]
|