mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-24 04:21:12 +00:00
9 lines
243 B
Python
9 lines
243 B
Python
|
from django.urls import path , include
|
||
|
from chat.consumers import ChatConsumer
|
||
|
|
||
|
# Here, "" is routing to the URL ChatConsumer which
|
||
|
# will handle the chat functionality.
|
||
|
websocket_urlpatterns = [
|
||
|
path("" , ChatConsumer.as_asgi()) ,
|
||
|
]
|