From 972146ec8737124a03b3d675a0206a73b887c492 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 2 Nov 2013 07:20:20 +0100 Subject: [PATCH] add python-social-auth for amazon, bitbucket, dropbox, reddit, soundcloud, stackoverflow --- nsupdate/accounts/templates/registration/login.html | 6 +++--- nsupdate/settings.py | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/nsupdate/accounts/templates/registration/login.html b/nsupdate/accounts/templates/registration/login.html index 23b9c6e..c7a59b5 100644 --- a/nsupdate/accounts/templates/registration/login.html +++ b/nsupdate/accounts/templates/registration/login.html @@ -20,9 +20,9 @@
Login with:
diff --git a/nsupdate/settings.py b/nsupdate/settings.py index a7c78c3..8e1b26c 100644 --- a/nsupdate/settings.py +++ b/nsupdate/settings.py @@ -237,8 +237,14 @@ SESSION_EXPIRE_AT_BROWSER_CLOSE = False # python-social-auth settings AUTHENTICATION_BACKENDS = ( + 'social.backends.amazon.AmazonOAuth2', + 'social.backends.bitbucket.BitbucketOAuth', + 'social.backends.dropbox.DropboxOAuth', 'social.backends.github.GithubOAuth2', 'social.backends.google.GoogleOAuth2', + 'social.backends.reddit.RedditOAuth2', + 'social.backends.soundcloud.SoundcloudOAuth2', + 'social.backends.stackoverflow.StackoverflowOAuth2', 'social.backends.twitter.TwitterOAuth', 'django.contrib.auth.backends.ModelBackend', )