mirror of
https://github.com/django/daphne.git
synced 2025-04-20 08:42:18 +03:00
Added a "
to close the line (#339)
You may also want to make use of: ``` .. code:: python ``` instead of just `::`. Sphinx will then do the colour highlighting for you and may have helped catch this. Ooh, and also, it wasn't immediately obvious to me here that `include` is imported from `from channels.routing`. You may want to add that to the code sample.
This commit is contained in:
parent
f69bd99c61
commit
a96c6fe9c3
|
@ -506,7 +506,7 @@ routing our chat from above::
|
|||
]
|
||||
|
||||
chat_routing = [
|
||||
route("websocket.connect", chat_connect, path=r"^/(?P<room>[a-zA-Z0-9_]+)/$),
|
||||
route("websocket.connect", chat_connect, path=r"^/(?P<room>[a-zA-Z0-9_]+)/$"),
|
||||
route("websocket.disconnect", chat_disconnect),
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user