Files
RasadDam_Backend/apps/authentication/websocket/routing.py

6 lines
173 B
Python

from django.urls import re_path
from apps.authentication.websocket import consumer
websocket_urlpatterns = [
re_path(r"ws/somepath/$", consumer.MyConsumer.as_asgi()),
]