backend/exhauster_analytics/analytics/routing.py

8 lines
226 B
Python

from . import consumers
from django.urls import path
websocket_urlpatterns = [
path("", consumers.NotificationsConsumer.as_asgi()),
path("<int:approximation>", consumers.NotificationsApproximateConsumer.as_asgi()),
]