# routing.py from django.urls import re_path from . import consumers websocket_urlpatterns = [ re_path(r"active", consumers.StudentStatusConsumer.as_asgi()), ]