[Python-modules-commits] [python-social-auth] 39/322: Fix backend name formatting

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:12:46 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.10
in repository python-social-auth.

commit d2a93b3a6f592a2cceff7d94ef3611d515f9a8cb
Author: Anna Warzecha <anna.warzecha at gmail.com>
Date:   Sun Nov 16 23:07:45 2014 +0100

    Fix backend name formatting
---
 README.rst                     | 3 ++-
 social/backends/khanacademy.py | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/README.rst b/README.rst
index 37dd576..2e03140 100644
--- a/README.rst
+++ b/README.rst
@@ -78,7 +78,7 @@ or current ones extended):
     * Instagram_ OAuth2
     * Jawbone_ OAuth2 https://jawbone.com/up/developer/authentication
     * Kakao_ OAuth2 https://developer.kakao.com
-    * `Khan Academy`_ https://github.com/Khan/khan-api/wiki/Khan-Academy-API-Authentication OAuth1
+    * `Khan Academy`_ OAuth1
     * Linkedin_ OAuth1
     * Live_ OAuth2
     * Livejournal_ OpenId
@@ -249,6 +249,7 @@ check `django-social-auth LICENSE`_ for details:
 .. _Linkedin: https://www.linkedin.com
 .. _Live: https://live.com
 .. _Livejournal: http://livejournal.com
+.. _Khan Academy: https://github.com/Khan/khan-api/wiki/Khan-Academy-API-Authentication
 .. _Mailru: https://mail.ru
 .. _MapMyFitness: http://www.mapmyfitness.com/
 .. _Mixcloud: https://www.mixcloud.com
diff --git a/social/backends/khanacademy.py b/social/backends/khanacademy.py
index 1c5dd03..17b390c 100644
--- a/social/backends/khanacademy.py
+++ b/social/backends/khanacademy.py
@@ -7,7 +7,7 @@ from social.backends.oauth import BaseOAuth1
 
 
 class KhanAcademyOAuth1(BaseOAuth1):
-    name = 'khanacademy-oauth'
+    name = 'khanacademy-oauth1'
     ID_KEY = 'user_id'
     AUTHORIZATION_URL = 'https://www.khanacademy.org/api/auth'
     REQUEST_TOKEN_URL = 'https://www.khanacademy.org/api/auth/request_token'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git



More information about the Python-modules-commits mailing list