]> git.parisson.com Git - django-social-auth.git/commitdiff
Fixes to doc and remove unused module
authorMatías Aguirre <matiasaguirre@gmail.com>
Sun, 8 Jul 2012 01:56:49 +0000 (22:56 -0300)
committerMatías Aguirre <matiasaguirre@gmail.com>
Sun, 8 Jul 2012 01:56:49 +0000 (22:56 -0300)
doc/backends/mixcloud.rst [new file with mode: 0644]
doc/contributions.rst
social_auth/models.py

diff --git a/doc/backends/mixcloud.rst b/doc/backends/mixcloud.rst
new file mode 100644 (file)
index 0000000..8305ed8
--- /dev/null
@@ -0,0 +1,29 @@
+Mixcloud OAuth2
+===============
+
+The `Mixcloud API`_ offers support for authorization.
+To enable OAuth2 support:
+
+- Register a new application at `Mixcloud Developers`_
+
+- Add Mixcloud backend to ``AUTHENTICATION_BACKENDS`` in settings::
+
+    AUTHENTICATION_BACKENDS = (
+        ...
+        'social_auth.backends.contrib.mixcloud.MixcloudBackend',
+    )
+
+- Fill ``Client Id`` and ``Client Secret`` values in the settings::
+
+    MIXCLOUD_CLIENT_ID = ''
+    MIXCLOUD_CLIENT_SECRET = ''
+
+- Similar to the other OAuth backends you can define::
+
+    MIXCLOUD_EXTRA_DATA = [('username', 'username'), ('name', 'name'), ('pictures', 'pictures'), ('url', 'url')]
+
+as a list of tuples ``(response name, alias)`` to store user profile data on the UserSocialAuth model.
+
+
+.. _Mixcloud API: http://www.mixcloud.com/developers/documentation
+.. _Mixcloud Developers: http://www.mixcloud.com/developers
index d832cd40b51e309423bd9e2dce420ee7f16f620e..97df20feb47a4dfaf90b03cc6d026406bdda5d33 100644 (file)
@@ -8,6 +8,10 @@ caioariede_ (Caio Ariede):
 
 krvss_ (Stas Kravets):
   * Initial setup.py configuration
+  * LiveJournal support
+  * Mail.ru, Odnoklassniki support
+  * Yandex OpenID support
+  * VKontakte OpenAPI support
 
 jezdez_ (Jannis Leidel):
   * Improvements and documentation update
@@ -36,6 +40,17 @@ maraujop_ (Miguel Araujo)
 bedspax_
   * Foursquare support
 
+revolunet_ (Julien Bouquillon)
+  * GitHub support
+
+danielgtaylor_ (Daniel G. Taylor)
+  * Dropbox support
+  * Flickr support
+  * Provider name context processor
+
+r4vi_ (Ravi Kotecha)
+  * Instagram support
+
 andrusha_ (Andrew Korzhuev)
   * MSN Live Connect support
   * Yahoo OAuth 1.0 support
@@ -46,6 +61,10 @@ niQo_ (Nicolas Quiénot)
 hassek_ (Tomas Henriquez)
   * Evernote support
 
+fmoga_ (Florian Moga)
+  * Mixcloud support
+
+
 .. _caioariede: https://github.com/caioariede
 .. _krvss: https://github.com/krvss
 .. _jezdez: https://github.com/jezdez
@@ -61,3 +80,7 @@ hassek_ (Tomas Henriquez)
 .. _python-oauth2: https://github.com/simplegeo/python-oauth2
 .. _niQo: https://github.com/niQo
 .. _hassek: https://github.com/hassek
+.. _fmoga: https://github.com/fmoga
+.. _revolunet: https://github.com/revolunet
+.. _r4vi: https://github.com/r4vi
+.. _danielgtaylor: https://github.com/danielgtaylor
index 28a58c1f348969e86435d1a2f439e6fc41c42b97..fa4c0d9bc548a19d68e714fb1f6f2a74cb0804a0 100644 (file)
@@ -1,6 +1,6 @@
 """Social auth models"""
 import time
-from datetime import datetime, date, timedelta
+from datetime import datetime, timedelta
 from django.db import models
 
 from social_auth.fields import JSONField