Skip to content

Commit

Permalink
Fix Dropbox references to say Flickr instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgtaylor committed Oct 10, 2011
1 parent c41f65c commit 9365b44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions social_auth/backends/contrib/flickr.py
Expand Up @@ -3,7 +3,7 @@
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.
Expand All @@ -21,7 +21,7 @@
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
Expand All @@ -30,7 +30,7 @@


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)]
Expand Down

0 comments on commit 9365b44

Please sign in to comment.