Files

6 lines
185 B
Python

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