From acb398899977160e663025feefc3e96ebfd0c2cf Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Wed, 5 Jul 2017 07:31:30 -0700 Subject: [PATCH] Add json import (fixes #700) --- docs/getting-started.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/getting-started.rst b/docs/getting-started.rst index 84cc9d8..d34d6f0 100644 --- a/docs/getting-started.rst +++ b/docs/getting-started.rst @@ -385,6 +385,7 @@ Let's use it now to build a chat server that expects you to pass a chatroom name in the path of your WebSocket request and a query string with your username (we'll ignore auth for now - that's next):: # In consumers.py + import json from channels import Group from channels.sessions import channel_session from urllib.parse import parse_qs