コード例 #1
0
ファイル: forms.py プロジェクト: BlackWizard/pinax
 def save(self):
     from microblogging.utils import get_twitter_password
     update_other_services(self.user,
         twitter_user = self.cleaned_data['username'],
         twitter_password = get_twitter_password(settings.SECRET_KEY, self.cleaned_data['password']),
     )
     self.user.message_set.create(message=ugettext(u"Successfully authenticated."))
コード例 #2
0
ファイル: forms.py プロジェクト: bopopescu/pd
 def save(self):
     from microblogging.utils import get_twitter_password
     update_other_services(
         self.user,
         twitter_user=self.cleaned_data["username"],
         twitter_password=get_twitter_password(
             settings.SECRET_KEY, self.cleaned_data["password"]),
     )
コード例 #3
0
 def save(self):
     from microblogging.utils import get_twitter_password
     update_other_services(
         self.user,
         twitter_user=self.cleaned_data['username'],
         twitter_password=get_twitter_password(
             settings.SECRET_KEY, self.cleaned_data['password']),
     )
     self.user.message_set.create(
         message=ugettext(u"Successfully authenticated."))
コード例 #4
0
ファイル: forms.py プロジェクト: codeflow/pinax
 def save(self):
     from microblogging.utils import get_twitter_password
     update_other_services(self.user,
         twitter_user = self.cleaned_data["username"],
         twitter_password = get_twitter_password(settings.SECRET_KEY, self.cleaned_data["password"]),
     )