]> git.parisson.com Git - django-social-auth.git/commitdiff
README updates
authorMatías Aguirre <matiasaguirre@gmail.com>
Mon, 15 Nov 2010 21:37:52 +0000 (19:37 -0200)
committerMatías Aguirre <matiasaguirre@gmail.com>
Mon, 15 Nov 2010 21:37:52 +0000 (19:37 -0200)
README.rst

index e42e8c43efaa798d1544ac80fc19a80bd137dc31..84fca9a76877b37f141f215a226c9be561d0d367 100644 (file)
@@ -13,9 +13,9 @@ third parties.
 ------------
 Dependencies
 ------------
-   * OpenId support depends on python-openid_
-   * OAuth support depends on python-oauth_
-   * Twitter and Facebook support demands an application registration
+   - OpenId support depends on python-openid_
+   - OAuth support depends on python-oauth_
+   - Twitter and Facebook support demands an application registration
      on their corresponding sites.
 
 
@@ -30,7 +30,7 @@ Installation
         'social_auth'
     )
 
-- Add desired authentication backends to AUTHENTICATION_BACKENDS setting::
+- Add desired authentication backends to AUTHENTICATION_BACKENDS_ setting::
 
     AUTHENTICATION_BACKENDS = (
         'social_auth.backends.TwitterOAuthBackend',
@@ -39,7 +39,7 @@ Installation
         'django.contrib.auth.backends.ModelBackend',
     )
 
-- Setup Twitter and Facebook keys (see `OAuth`_ section for details)::
+- Setup Twitter and Facebook keys (see OAuth_ section for details)::
 
     TWITTER_CONSUMER_KEY    = ''
     TWITTER_CONSUMER_SECRET = ''
@@ -57,6 +57,14 @@ Installation
 
     SOCIAL_AUTH_COMPLETE_URL_NAME = 'namespace:complete'
 
+- Add urls entries::
+
+    urlpatterns = patterns('',
+        ...
+        url(r'', include('social_auth.urls', namespace='social')),
+        ...
+    )
+
 - Sync database to create needed models::
 
     ./manage syncdb
@@ -142,3 +150,4 @@ django-openid-auth::
 .. _dnsmasq: http://www.thekelleys.org.uk/dnsmasq/doc.html
 .. _Facebook development resources: http://developers.facebook.com/docs/authentication/
 .. _Facebook App Creation: http://developers.facebook.com/setup/
+.. _AUTHENTICATION_BACKENDS: http://docs.djangoproject.com/en/dev/ref/settings/?from=olddocs#authentication-backends