Titivillus/quest/routing.py

12 lines
213 B
Python

#!/usr/bin/env python3
"""
Routing for /quest websockets.
"""
from django.conf.urls import url
from . import consumers
websocket_urlpatterns = [
url(r'ws/quest/(?P<quest_id>\d+)/', consumers.QuestConsumer),
]