[Python-modules-commits] [python-social-auth] 45/61: Small cosmetic changes and link from main index. Refs #700
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Dec 24 15:14:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to tag v0.2.13
in repository python-social-auth.
commit 08ed0f8b5cf1e19cc49f7c214b2ba1230d2705c6
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date: Fri Aug 14 03:30:29 2015 -0300
Small cosmetic changes and link from main index. Refs #700
---
docs/developer_intro.rst | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/docs/developer_intro.rst b/docs/developer_intro.rst
index 7b2cf2c..ebd8526 100644
--- a/docs/developer_intro.rst
+++ b/docs/developer_intro.rst
@@ -38,6 +38,7 @@ want to use Intuit's OpenID), you can subclass the nearest one and override
the "name" attribute::
from social.backends.open_id import OpenIDAuth
+
class IntuitOpenID(OpenIDAuth):
name = 'intuit'
@@ -68,12 +69,17 @@ The design contract for each function in the pipeline is:
1) The pipeline starts with a four-item dictionary (the accumulative dictionary)
which is updated with the results of each function in the pipeline. The
initial four values are:
- 'strategy' : contains a strategy object
- 'backend' : contains the backend being used during this pipeline run
- 'request' : contains a dictionary of the request keys. Note to Django
- users -- this is not an HttpRequest object, it is actually
- the results of ``request.REQUEST``.
- 'details' : which is an empty dict.
+
+ ``strategy``
+ contains a strategy object
+ ``backend``
+ contains the backend being used during this pipeline run
+ ``request``
+ contains a dictionary of the request keys. Note to Django users -- this is
+ not an HttpRequest object, it is actually the results of
+ ``request.REQUEST``.
+ ``details``
+ which is an empty dict.
2) If the function returns a dictionary or something False-ish, add the contents
of the dictionary to an accumulative dictionary (called ``out`` in
--
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