Fix auth example imports in Gettings Started guide

Removed unused `transfer_user` import and added missing `channel_session_user_from_http` as import.
This commit is contained in:
Gregor Müllegger 2016-04-06 17:10:11 +02:00 committed by Andrew Godwin
parent e88e0feae9
commit c171cb4346

View File

@ -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