# apps/notification/routing.py from django.urls import re_path from apps.notification.consumers import NotificationConsumer import logging websocket_urlpatterns = [ re_path(r'^ws/notifications/$', NotificationConsumer.as_asgi()), ]