First commit

This commit is contained in:
2026-07-20 11:05:07 +02:00
commit b592ab669f
159 changed files with 10294 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
from django.urls import re_path
from . import consumers
websocket_urlpatterns = [
# re_path() réutilisé pour du routage ASGI (pattern documenté par
# Channels lui-même) — django-stubs type `view` pour des vues WSGI,
# pas des consumers ASGI : décalage entre les stubs des deux paquets,
# sans rapport avec un vrai bug (fonctionne, testé en conditions
# réelles toute la journée, cf. ROADMAP.md).
re_path(r'^ws/banevents/$', consumers.BanEventConsumer.as_asgi()), # type: ignore[reportCallIssue, reportArgumentType]
]