]> git.parisson.com Git - django-social-auth.git/commitdiff
Document context processors. Refs gh-113
authorMatías Aguirre <matiasaguirre@gmail.com>
Sun, 14 Aug 2011 09:06:08 +0000 (06:06 -0300)
committerMatías Aguirre <matiasaguirre@gmail.com>
Sun, 14 Aug 2011 09:06:08 +0000 (06:06 -0300)
README.rst
doc/configuration.rst

index 739a846b458989e96a565816d76f20f8cacfe81b..e2b3f085047b3c6bcfbb69b9590be0dcf852ac0a 100644 (file)
@@ -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
index fc0405d5ac7a6500dff5796ec8cdbe0b3f1db904..714183f405539d2c36333d1a2be59a335b24c89d 100644 (file)
@@ -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