From 7fc59baa36d1ec53664daa480ff04623eab34249 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Aguirre?= Date: Thu, 9 Feb 2012 02:55:03 -0200 Subject: [PATCH] ReST fixes --- README.rst | 23 ++++++++++++----------- doc/configuration.rst | 23 ++++++++++++----------- 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/README.rst b/README.rst index 0b823cb..a6740d4 100644 --- a/README.rst +++ b/README.rst @@ -221,21 +221,22 @@ Configuration is a UserSocialAuth instance if user has associated an account with that provider, otherwise `None`. - * `social_auth_backends`: - Adds a `social_auth` dict with keys are `associated, `not_associated` and - `backends`. `associated` key is a list of `UserSocialAuth` instances - associated with current user. `not_associated` is a list of providers names - that the current user doesn't have any association yet. `backends` holds + * ``social_auth_backends``: + Adds a ``social_auth`` dict with keys are ``associated``, ``not_associated`` and + ``backends``. ``associated`` key is a list of ``UserSocialAuth`` instances + associated with current user. ``not_associated`` is a list of providers names + that the current user doesn't have any association yet. ``backends`` holds the list of backend names supported. - * `social_auth_by_type_backends`: - Simiar to `social_auth_backends` but each value is grouped by backend type - `openid`, `oauth2` and `oauth`. + * ``social_auth_by_type_backends``: + Simiar to ``social_auth_backends`` but each value is grouped by backend type + ``openid``, ``oauth2`` and ``oauth``. - Check `social_auth.context_processors` for details. + Check ``social_auth.context_processors`` for details. - **Note**: `social_auth_backends` and `social_auth_by_type_backends` don't - play nice together. + **Note**: + ``social_auth_backends`` and ``social_auth_by_type_backends`` don't play nice + together. - Sync database to create needed models:: diff --git a/doc/configuration.rst b/doc/configuration.rst index 64463e6..274cc9e 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -118,21 +118,22 @@ Configuration is a UserSocialAuth instance if user has associated an account with that provider, otherwise `None`. - * `social_auth_backends`: - Adds a `social_auth` dict with keys are `associated, `not_associated` and - `backends`. `associated` key is a list of `UserSocialAuth` instances - associated with current user. `not_associated` is a list of providers names - that the current user doesn't have any association yet. `backends` holds + * ``social_auth_backends``: + Adds a ``social_auth`` dict with keys are ``associated``, ``not_associated`` and + ``backends``. ``associated`` key is a list of ``UserSocialAuth`` instances + associated with current user. ``not_associated`` is a list of providers names + that the current user doesn't have any association yet. ``backends`` holds the list of backend names supported. - * `social_auth_by_type_backends`: - Simiar to `social_auth_backends` but each value is grouped by backend type - `openid`, `oauth2` and `oauth`. + * ``social_auth_by_type_backends``: + Simiar to ``social_auth_backends`` but each value is grouped by backend type + ``openid``, ``oauth2`` and ``oauth``. - Check `social_auth.context_processors` for details. + Check ``social_auth.context_processors`` for details. - **Note**: `social_auth_backends` and `social_auth_by_type_backends` don't - play nice together. + **Note**: + ``social_auth_backends`` and ``social_auth_by_type_backends`` don't play nice + together. - Sync database to create needed models:: -- 2.39.5