Added ASGI server for websocket using the sample chat application as starting point

This commit is contained in:
2022-04-02 19:30:58 +02:00
parent 13cc1c3f57
commit 5cf49b7d47
17 changed files with 209 additions and 14 deletions

9
booker/urls.py Normal file
View File

@@ -0,0 +1,9 @@
from django.urls import path
from . import views
app_name = 'booker'
urlpatterns = [
path('', views.index, name='index'),
path('<str:scanner_id>/', views.scanner, name='scanner')
]