backend/exhauster_analytics/analytics/routing.py

8 lines
226 B
Python
Raw Normal View History

2023-02-18 23:51:02 +03:00
from . import consumers
from django.urls import path
websocket_urlpatterns = [
path("", consumers.NotificationsConsumer.as_asgi()),
path("<int:approximation>", consumers.NotificationsApproximateConsumer.as_asgi()),
]