diff --git a/passbook/sources/oauth/models.py b/passbook/sources/oauth/models.py index 1012f37dc..95262f32f 100644 --- a/passbook/sources/oauth/models.py +++ b/passbook/sources/oauth/models.py @@ -89,16 +89,16 @@ class GitHubOAuthSource(OAuthSource): verbose_name_plural = _("GitHub OAuth Sources") -class TwitterOAuthSource(OAuthSource): - """Social Login using Twitter.com""" +# class TwitterOAuthSource(OAuthSource): +# """Social Login using Twitter.com""" - form = "passbook.sources.oauth.forms.TwitterOAuthSourceForm" +# form = "passbook.sources.oauth.forms.TwitterOAuthSourceForm" - class Meta: +# class Meta: - abstract = True - verbose_name = _("Twitter OAuth Source") - verbose_name_plural = _("Twitter OAuth Sources") +# abstract = True +# verbose_name = _("Twitter OAuth Source") +# verbose_name_plural = _("Twitter OAuth Sources") class FacebookOAuthSource(OAuthSource): diff --git a/passbook/sources/oauth/types/twitter.py b/passbook/sources/oauth/types/twitter.py index 4a4196f3c..248f6c996 100644 --- a/passbook/sources/oauth/types/twitter.py +++ b/passbook/sources/oauth/types/twitter.py @@ -1,10 +1,10 @@ """Twitter OAuth Views""" -from passbook.sources.oauth.types.manager import MANAGER, RequestKind +# from passbook.sources.oauth.types.manager import MANAGER, RequestKind from passbook.sources.oauth.utils import user_get_or_create from passbook.sources.oauth.views.core import OAuthCallback -@MANAGER.source(kind=RequestKind.callback, name="Twitter") +# @MANAGER.source(kind=RequestKind.callback, name="Twitter") class TwitterOAuthCallback(OAuthCallback): """Twitter OAuth2 Callback"""