tournament: add: player can join tournament now

This commit is contained in:
2023-12-24 16:58:36 +01:00
parent 2932c2af1f
commit 8ba55d5be2
6 changed files with 191 additions and 24 deletions

View File

@ -13,6 +13,7 @@ from channels.auth import AuthMiddlewareStack
import chat.routing
import matchmaking.routing
import tournament.routing
from django.core.asgi import get_asgi_application
@ -23,7 +24,8 @@ application = ProtocolTypeRouter({
'websocket':AuthMiddlewareStack(
URLRouter(
chat.routing.websocket_urlpatterns +
matchmaking.routing.websocket_urlpatterns
matchmaking.routing.websocket_urlpatterns +
tournament.routing.websocket_urlpatterns
)
)
})