mirror of
https://github.com/django/daphne.git
synced 2025-10-30 15:27:36 +03:00
14 lines
237 B
Python
14 lines
237 B
Python
from django.conf.urls import url
|
|
from chtest import consumers, views
|
|
|
|
|
|
urlpatterns = [
|
|
url(r'^$', views.index),
|
|
]
|
|
|
|
|
|
channel_routing = {
|
|
"websocket.receive": consumers.ws_message,
|
|
"websocket.connect": consumers.ws_connect,
|
|
}
|