[Python-modules-commits] [python-social-auth] 03/71: Coma at the end of every tuple and dict
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Dec 24 15:14:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to tag v0.2.14
in repository python-social-auth.
commit 69fa698aee3c66daf3928447d5869711fadd5a61
Author: Jerzy Spendel <jspendel at gmail.com>
Date: Tue Aug 18 15:19:27 2015 +0200
Coma at the end of every tuple and dict
---
docs/pipeline.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/pipeline.rst b/docs/pipeline.rst
index 3606ae5..458eeac 100644
--- a/docs/pipeline.rst
+++ b/docs/pipeline.rst
@@ -86,7 +86,7 @@ ones would look like this::
'social.pipeline.social_auth.social_user',
'social.pipeline.social_auth.associate_user',
'social.pipeline.social_auth.load_extra_data',
- 'social.pipeline.user.user_details'
+ 'social.pipeline.user.user_details',
)
Note that this assumes the user is already authenticated, and thus the ``user`` key
@@ -144,7 +144,7 @@ In order to override the disconnection pipeline, just define the setting::
'social.pipeline.disconnect.revoke_tokens',
# Removes the social associations.
- 'social.pipeline.disconnect.disconnect'
+ 'social.pipeline.disconnect.disconnect',
)
@@ -303,7 +303,7 @@ returned by the provider (``Facebook`` in this example). The usual Facebook
'updated_time': '2014-01-14T15:58:35+0000',
'link': 'https://www.facebook.com/foobar',
'timezone': -3,
- 'id': '100000126636010'
+ 'id': '100000126636010',
}
Let's say we are interested in storing the user profile link, the gender and
@@ -333,7 +333,7 @@ the pipeline, since it needs the user instance, it needs to be put after
'path.to.save_profile', # <--- set the path to the function
'social.pipeline.social_auth.associate_user',
'social.pipeline.social_auth.load_extra_data',
- 'social.pipeline.user.user_details'
+ 'social.pipeline.user.user_details',
)
If the return value of the function is a ``dict``, the values will be merged
--
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