From f2f8ebab389284488a520547fb80b9a39b0f07e2 Mon Sep 17 00:00:00 2001 From: Daniel Hepper Date: Mon, 19 Mar 2012 15:37:10 +0100 Subject: [PATCH] Fixed typos in comments. --- social_auth/backends/twitter.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/social_auth/backends/twitter.py b/social_auth/backends/twitter.py index cfdd021..9df1d17 100644 --- a/social_auth/backends/twitter.py +++ b/social_auth/backends/twitter.py @@ -3,7 +3,7 @@ Twitter OAuth support. This adds support for Twitter OAuth service. An application must be registered first on twitter and the settings TWITTER_CONSUMER_KEY -and TWITTER_CONSUMER_SECRET must be defined with they corresponding +and TWITTER_CONSUMER_SECRET must be defined with the corresponding values. User screen name is used to generate username. @@ -48,8 +48,8 @@ class TwitterBackend(OAuthBackend): @classmethod def tokens(cls, instance): """Return the tokens needed to authenticate the access to any API the - service might provide. Twitter uses a pair of OAuthToken consisting on - a oauth_token and oauth_token_secret. + service might provide. Twitter uses a pair of OAuthToken consisting of + an oauth_token and oauth_token_secret. instance must be a UserSocialAuth instance. """ @@ -80,7 +80,7 @@ class TwitterAuth(ConsumerBasedOAuth): return None def auth_complete(self, *args, **kwargs): - """Completes loging process, must return user instance""" + """Completes login process, must return user instance""" if 'denied' in self.data: raise AuthCanceled(self) else: -- 2.39.5