Added ASGI server for websocket using the sample chat application as starting point
This commit is contained in:
9
booker/urls.py
Normal file
9
booker/urls.py
Normal 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')
|
||||
]
|
||||
Reference in New Issue
Block a user