switch from WSGI using uWSGI to ASGI using custom event loop based on uvicorn

This commit is contained in:
j3d1 2023-11-22 21:41:49 +01:00
parent b103205dfe
commit 6b3cc4c168
15 changed files with 610 additions and 8 deletions

View file

@ -0,0 +1,8 @@
from django.urls import path
from .consumers import NotifyConsumer
websocket_urlpatterns = [
path('notify/<str:event_slug>/', NotifyConsumer.as_asgi()),
]