Beispiel #1
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."))
Beispiel #2
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"]),
     )
Beispiel #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."))
Beispiel #4
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"]),
     )