2025-08-01

This commit is contained in:
2025-08-01 13:03:58 -05:00
parent f25a69cf78
commit 1a7a6a2d50
14 changed files with 512 additions and 114 deletions

View File

@@ -1,7 +1,7 @@
from django.urls import path
from . import consumers
from draft.consumers import DraftParticipantConsumer, DraftAdminConsumer
websocket_urlpatterns = [
path(r"ws/draft/session/<str:draft_session_id_hashed>/", consumers.DraftConsumer.as_asgi()),
# path(r"ws/draft/<slug:league_slug>/<slug:season_slug>/", consumers.DraftConsumer.as_asgi()),
path(r"ws/draft/session/<str:draft_session_id_hashed>/participant", DraftParticipantConsumer.as_asgi()),
path(r"ws/draft/session/<str:draft_session_id_hashed>/admin", DraftAdminConsumer.as_asgi()),
]