mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 02:31:03 -03:30
adding initial testing consumers/routes for channels
This commit is contained in:
6
awx/main/routing.py
Normal file
6
awx/main/routing.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from channels.routing import route
|
||||
|
||||
|
||||
channel_routing = [
|
||||
route("websocket.connect", "awx.main.consumers.job_event_connect", path=r'^/job_event/(?P<id>[a-zA-Z0-9_]+)/$'),
|
||||
]
|
||||
Reference in New Issue
Block a user