From 9365b449ac206b29f1a842689387f6557164b14c Mon Sep 17 00:00:00 2001 From: "Daniel G. Taylor" Date: Mon, 10 Oct 2011 14:41:06 -0300 Subject: [PATCH] Fix Dropbox references to say Flickr instead. --- social_auth/backends/contrib/flickr.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/social_auth/backends/contrib/flickr.py b/social_auth/backends/contrib/flickr.py index f88a444..bcf7ee7 100644 --- a/social_auth/backends/contrib/flickr.py +++ b/social_auth/backends/contrib/flickr.py @@ -3,7 +3,7 @@ Flickr OAuth support. This contribution adds support for Flickr OAuth service. The settings FLICKR_APP_ID and FLICKR_API_SECRET must be defined with the values -given by Dropbox application registration process. +given by Flickr application registration process. By default account id, username and token expiration time are stored in extra_data field, check OAuthBackend class for details on how to extend it. @@ -21,7 +21,7 @@ from django.utils import simplejson from oauth2 import Token from social_auth.backends import ConsumerBasedOAuth, OAuthBackend, USERNAME -# Dropbox configuration +# Flickr configuration FLICKR_SERVER = 'http://www.flickr.com/services' FLICKR_REQUEST_TOKEN_URL = '%s/oauth/request_token' % FLICKR_SERVER FLICKR_AUTHORIZATION_URL = '%s/oauth/authorize' % FLICKR_SERVER @@ -30,7 +30,7 @@ EXPIRES_NAME = getattr(settings, 'SOCIAL_AUTH_EXPIRATION', 'expires') class FlickrBackend(OAuthBackend): - """Dropbox OAuth authentication backend""" + """Flickr OAuth authentication backend""" name = 'flickr' # Default extra data to store EXTRA_DATA = [('id', 'id'), ('username', 'username'), ('expires', EXPIRES_NAME)] -- 2.39.5