1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-30 11:51:10 +02:00

Initialize chat interface

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-04-27 08:57:01 +02:00
parent d9bb0a0860
commit ea8007aa07
13 changed files with 150 additions and 32 deletions

11
tfjm/routing.py Normal file
View File

@ -0,0 +1,11 @@
# Copyright (C) 2024 by Animath
# SPDX-License-Identifier: GPL-3.0-or-later
import chat.consumers
from django.urls import path
import draw.consumers
websocket_urlpatterns = [
path("ws/chat/", chat.consumers.ChatConsumer.as_asgi()),
path("ws/draw/", draw.consumers.DrawConsumer.as_asgi()),
]