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