- Added `bidding_duration` field to `DraftSessionSettings` model and migration. - Updated `DraftStateManager` to manage bidding start/end times using session settings. - Extended WebSocket payloads to include bidding timer data. - Added `DraftCountdownClock` React component and integrated into admin and participant UIs. - Created new `DraftDebug` view, template, and front-end component for real-time state debugging. - Updated utility functions to handle new timer fields in draft state. - Changed script tags in templates to load with `defer` for non-blocking execution.
11 lines
415 B
Python
11 lines
415 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
app_name = "draft"
|
|
|
|
urlpatterns = [
|
|
# path("", views.draft_room, name="room"),
|
|
path("session/<str:draft_session_id_hashed>/", views.draft_room, name="session"),
|
|
path("session/<str:draft_session_id_hashed>/<str:subpage>", views.draft_room, name="admin_session"),
|
|
# path("<slug:league_slug>/<slug:season_slug>/", views.draft_room_list, name="room"),
|
|
] |