From c171cb43464ae642a542a4ef0c2ef462190a608f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20M=C3=BCllegger?= Date: Wed, 6 Apr 2016 17:10:11 +0200 Subject: [PATCH] Fix auth example imports in Gettings Started guide Removed unused `transfer_user` import and added missing `channel_session_user_from_http` as import. --- docs/getting-started.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started.rst b/docs/getting-started.rst index 36eccc5..8eb7561 100644 --- a/docs/getting-started.rst +++ b/docs/getting-started.rst @@ -443,7 +443,7 @@ chat to people with the same first letter of their username:: # In consumers.py from channels import Channel, Group from channels.sessions import channel_session - from channels.auth import http_session_user, channel_session_user, transfer_user + from channels.auth import http_session_user, channel_session_user, channel_session_user_from_http # Connected to websocket.connect @channel_session_user_from_http