Skip to content
Browse files

Some indentations for cosmetics.

  • Loading branch information...
1 parent 89a877a commit 26848c850f44f78ed6137275616044cc849d2450 @serdardalgic serdardalgic committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 doc/use_cases.rst
View
6 doc/use_cases.rst
@@ -76,7 +76,11 @@ don't support it because the token is not supposed to expire.
Combining associate_user and load_extra_data functions in the pipeline
----------------------------------------------------------------------
-Two functions under backends.pipeline.social module, ``associate_user`` and ``load_extra_data`` are commonly used back to back in the ``SOCIAL_AUTH_PIPELINE``. Both of these modules hit the database for associating the social_user and loading extra data for this social_user. If you want to combine these two functions in order to decrease number of database visits, you can use this function::
+Two functions under backends.pipeline.social module, ``associate_user`` and
+``load_extra_data`` are commonly used back to back in the ``SOCIAL_AUTH_PIPELINE``.
+Both of these modules hit the database for associating the social_user and
+loading extra data for this social_user. If you want to combine these two functions
+in order to decrease number of database visits, you can use this function::
def social_associate_and_load_data(backend, details, response, uid, user,
social_user=None, *args, **kwargs):

0 comments on commit 26848c8

Please sign in to comment.
Something went wrong with that request. Please try again.