[Python-modules-commits] [python-social-auth] 19/131: ADDED: 'social.backends.upwork.UpworkOAuth' to settings for examples

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:16:56 UTC 2016


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

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

commit efe6d7c0f590b5cee3d6ba44481e118317a74112
Author: Shepilov Vladislav <shepilov.v at protonmail.com>
Date:   Wed Apr 20 05:53:49 2016 +0300

    ADDED: 'social.backends.upwork.UpworkOAuth' to settings for examples
    
    Signed-off-by: Shepilov Vladislav <shepilov.v at protonmail.com>
---
 examples/cherrypy_example/local_settings.py.template | 1 +
 examples/django_example/example/settings.py          | 1 +
 examples/django_me_example/example/settings.py       | 1 +
 examples/flask_example/settings.py                   | 1 +
 examples/flask_me_example/settings.py                | 1 +
 examples/pyramid_example/example/settings.py         | 1 +
 examples/tornado_example/settings.py                 | 1 +
 examples/webpy_example/app.py                        | 1 +
 8 files changed, 8 insertions(+)

diff --git a/examples/cherrypy_example/local_settings.py.template b/examples/cherrypy_example/local_settings.py.template
index 98c8f8f..7209aca 100644
--- a/examples/cherrypy_example/local_settings.py.template
+++ b/examples/cherrypy_example/local_settings.py.template
@@ -39,6 +39,7 @@ SOCIAL_SETTINGS = {
         'social.backends.podio.PodioOAuth2',
         'social.backends.reddit.RedditOAuth2',
         'social.backends.wunderlist.WunderlistOAuth2',
+        'social.backends.upwork.UpworkOAuth',
     ),
     'SOCIAL_AUTH_GOOGLE_OAUTH2_KEY': '',
     'SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET': ''
diff --git a/examples/django_example/example/settings.py b/examples/django_example/example/settings.py
index 62f2b5b..e829f71 100644
--- a/examples/django_example/example/settings.py
+++ b/examples/django_example/example/settings.py
@@ -203,6 +203,7 @@ AUTHENTICATION_BACKENDS = (
     'social.backends.email.EmailAuth',
     'social.backends.username.UsernameAuth',
     'django.contrib.auth.backends.ModelBackend',
+    'social.backends.upwork.UpworkOAuth',
 )
 
 AUTH_USER_MODEL = 'app.CustomUser'
diff --git a/examples/django_me_example/example/settings.py b/examples/django_me_example/example/settings.py
index 7dcdfad..bd1f46b 100644
--- a/examples/django_me_example/example/settings.py
+++ b/examples/django_me_example/example/settings.py
@@ -182,6 +182,7 @@ AUTHENTICATION_BACKENDS = (
     'social.backends.email.EmailAuth',
     'social.backends.username.UsernameAuth',
     'social.backends.wunderlist.WunderlistOAuth2',
+    'social.backends.upwork.UpworkOAuth',
     'mongoengine.django.auth.MongoEngineBackend',
     'django.contrib.auth.backends.ModelBackend',
 )
diff --git a/examples/flask_example/settings.py b/examples/flask_example/settings.py
index 0abaa91..6b5324c 100644
--- a/examples/flask_example/settings.py
+++ b/examples/flask_example/settings.py
@@ -52,4 +52,5 @@ SOCIAL_AUTH_AUTHENTICATION_BACKENDS = (
     'social.backends.reddit.RedditOAuth2',
     'social.backends.mineid.MineIDOAuth2',
     'social.backends.wunderlist.WunderlistOAuth2',
+    'social.backends.upwork.UpworkOAuth',
 )
diff --git a/examples/flask_me_example/settings.py b/examples/flask_me_example/settings.py
index e4f2338..cf4ed21 100644
--- a/examples/flask_me_example/settings.py
+++ b/examples/flask_me_example/settings.py
@@ -58,4 +58,5 @@ SOCIAL_AUTH_AUTHENTICATION_BACKENDS = (
     'social.backends.reddit.RedditOAuth2',
     'social.backends.mineid.MineIDOAuth2',
     'social.backends.wunderlist.WunderlistOAuth2',
+    'social.backends.upwork.UpworkOAuth',
 )
diff --git a/examples/pyramid_example/example/settings.py b/examples/pyramid_example/example/settings.py
index 35a69ad..05e2d9e 100644
--- a/examples/pyramid_example/example/settings.py
+++ b/examples/pyramid_example/example/settings.py
@@ -46,6 +46,7 @@ SOCIAL_AUTH_SETTINGS = {
         'social.backends.reddit.RedditOAuth2',
         'social.backends.mineid.MineIDOAuth2',
         'social.backends.wunderlist.WunderlistOAuth2',
+        'social.backends.upwork.UpworkOAuth',
     )
 }
 
diff --git a/examples/tornado_example/settings.py b/examples/tornado_example/settings.py
index ff6b146..81ae2eb 100644
--- a/examples/tornado_example/settings.py
+++ b/examples/tornado_example/settings.py
@@ -45,6 +45,7 @@ SOCIAL_AUTH_AUTHENTICATION_BACKENDS = (
     'social.backends.reddit.RedditOAuth2',
     'social.backends.mineid.MineIDOAuth2',
     'social.backends.wunderlist.WunderlistOAuth2',
+    'social.backends.upwork.UpworkOAuth',
 )
 
 from local_settings import *
diff --git a/examples/webpy_example/app.py b/examples/webpy_example/app.py
index 4109fac..2224d93 100644
--- a/examples/webpy_example/app.py
+++ b/examples/webpy_example/app.py
@@ -57,6 +57,7 @@ web.config[setting_name('AUTHENTICATION_BACKENDS')] = (
     'social.backends.podio.PodioOAuth2',
     'social.backends.mineid.MineIDOAuth2',
     'social.backends.wunderlist.WunderlistOAuth2',
+    'social.backends.upwork.UpworkOAuth',
 )
 web.config[setting_name('LOGIN_REDIRECT_URL')] = '/done/'
 

-- 
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