from django.urls import path from .consumers import NotifyConsumer websocket_urlpatterns = [ path('ws/2/notify/', NotifyConsumer.as_asgi()), ]