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:
Daniel Quinn 2016-09-07 12:20:58 +01:00 committed by Andrew Godwin
parent f69bd99c61
commit a96c6fe9c3

View File

@ -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),
]