Ejemplo n.º 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."))
Ejemplo n.º 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"]),
     )
Ejemplo n.º 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."))
Ejemplo n.º 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"]),
     )