From: Matías Aguirre Date: Sun, 14 Aug 2011 09:06:08 +0000 (-0300) Subject: Document context processors. Refs gh-113 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a84ad4f21f5bcbc0559495196b31dee085b68d9e;p=django-social-auth.git Document context processors. Refs gh-113 --- diff --git a/README.rst b/README.rst index 739a846..e2b3f08 100644 --- a/README.rst +++ b/README.rst @@ -198,6 +198,15 @@ Configuration ... ) +- Define context processors if needed:: + + TEMPLATE_CONTEXT_PROCESSORS = ( + ... + 'social_auth.context_processors.social_auth_by_type_backends', + ) + + check `social_auth.context_processors`. + - Sync database to create needed models:: ./manage.py syncdb diff --git a/doc/configuration.rst b/doc/configuration.rst index fc0405d..714183f 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -107,6 +107,15 @@ Configuration ... ) +- Define context processors if needed:: + + TEMPLATE_CONTEXT_PROCESSORS = ( + ... + 'social_auth.context_processors.social_auth_by_type_backends', + ) + + check `social_auth.context_processors`. + - Sync database to create needed models:: ./manage.py syncdb