From bd6f61de98597463ab7b198cf3e07b4cb575a90b Mon Sep 17 00:00:00 2001 From: Faris Chebib Date: Thu, 10 Sep 2015 12:00:47 -0600 Subject: [PATCH] updated getting started to include Group ref --- docs/getting-started.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/getting-started.rst b/docs/getting-started.rst index 77ce6b0..6ed982e 100644 --- a/docs/getting-started.rst +++ b/docs/getting-started.rst @@ -123,6 +123,8 @@ And, even though channels will expire out, let's add an explicit ``disconnect`` handler to clean up as people disconnect (most channels will cleanly disconnect and get this called):: + from channels import Group + # Connected to websocket.disconnect def ws_disconnect(message): Group("chat").discard(message.reply_channel)