adding initial testing consumers/routes for channels

This commit is contained in:
Wayne Witzel III
2016-08-08 12:53:04 -04:00
parent c4c1429989
commit 62beb24d62
2 changed files with 19 additions and 0 deletions

6
awx/main/routing.py Normal file
View 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_]+)/$'),
]