Testing the twitter app on local server in django with twython
问题 I am using the twython library, to do handshakes with twitter python library. And I am testing things on my local server, 127.0.0.1:8000 This is my first django view, that generates the twitter tokens for users. def twitter_auth(request): """ The view function that initiates the entire handshake. For the most part, this is 100% drag and drop. """ # Instantiate Twython with the first leg of our trip. twitter = Twython( settings.TWITTER_KEY, settings.TWITTER_SECRET, ) # Then send them over