[Python-modules-commits] [python-social-auth] 10/322: Fix use case snippet
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Dec 24 15:12:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to tag v0.2.10
in repository python-social-auth.
commit 0d75600d9a3bd09d62f1c9fe50f81be4c941bde5
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date: Thu Oct 30 23:16:49 2014 -0200
Fix use case snippet
---
docs/use_cases.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/use_cases.rst b/docs/use_cases.rst
index f7c2ec8..9fa95c6 100644
--- a/docs/use_cases.rst
+++ b/docs/use_cases.rst
@@ -132,7 +132,7 @@ implemented easily)::
# request.backend and request.strategy will be loaded with the current
# backend and strategy.
token = request.GET.get('access_token')
- user = backend.do_auth(request.GET.get('access_token'))
+ user = request.backend.do_auth(request.GET.get('access_token'))
if user:
login(request, user)
return 'OK'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git
More information about the Python-modules-commits
mailing list