8 lines
156 B
Python
8 lines
156 B
Python
|
from django.urls import re_path
|
||
|
|
||
|
from . import consumers
|
||
|
|
||
|
websocket_urlpatterns = [
|
||
|
re_path(r'ws/blog/(?P<room_name>\w+)/$', consumers.BlogConsumer),
|
||
|
]
|