Module ImportFrom alias alias alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad ImportFrom alias FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str Expr Call NameLoad NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Return Call NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Return Call NameLoad Str Dict Str NameLoad decorator_list
N/A django.contrib.auth authenticate login logout django_logout django.contrib.auth get_user_model django.http HttpResponseRedirect django.shortcuts render_to_response django.conf settings django.core.urlresolvers reverse twython Twython N/A User N/A get_user_model twython_django_oauth.models TwitterProfile logout N/A N/A request redirect_url N/A N/A settings LOGOUT_REDIRECT_URL N/A N/A 
        Nothing hilariously hidden here, logs a user out. Strip this out if your
        application already has hooks to handle this.
     N/A N/A django_logout request N/A N/A HttpResponseRedirect N/A N/A request build_absolute_uri redirect_url N/A begin_auth N/A N/A request N/A N/A N/A The view function that initiates the entire handshake.

    For the most part, this is 100% drag and drop.
     N/A twitter N/A Twython N/A settings TWITTER_KEY N/A settings TWITTER_SECRET N/A callback_url N/A N/A request build_absolute_uri N/A reverse twython_django_oauth.views.thanks N/A auth_props N/A N/A twitter get_authentication_tokens callback_url N/A N/A N/A request session N/A request_token auth_props N/A N/A N/A request session N/A next_url N/A N/A N/A request GET get next None N/A N/A HttpResponseRedirect N/A auth_props N/A auth_url N/A thanks N/A N/A request redirect_url N/A N/A settings LOGIN_REDIRECT_URL N/A N/A A user gets redirected here after hitting Twitter and authorizing your app to use their data.

    This is the view that stores the tokens you want
    for querying data. Pay attention to this.

     N/A oauth_token N/A N/A N/A request session N/A request_token N/A oauth_token N/A oauth_token_secret N/A N/A N/A request session N/A request_token N/A oauth_token_secret N/A twitter N/A Twython N/A settings TWITTER_KEY N/A settings TWITTER_SECRET oauth_token oauth_token_secret N/A authorized_tokens N/A N/A twitter get_authorized_tokens N/A N/A request GET N/A oauth_verifier N/A N/A N/A user N/A N/A N/A User objects get username N/A authorized_tokens N/A screen_name N/A N/A N/A N/A User DoesNotExist N/A N/A user N/A N/A N/A User objects create_user N/A authorized_tokens N/A screen_name fjdsfn@jfndjfn.com N/A authorized_tokens N/A oauth_token_secret N/A profile N/A TwitterProfile N/A N/A profile user user N/A N/A profile oauth_token N/A authorized_tokens N/A oauth_token N/A N/A profile oauth_secret N/A authorized_tokens N/A oauth_token_secret N/A N/A N/A profile save N/A user N/A authenticate username N/A authorized_tokens N/A screen_name password N/A authorized_tokens N/A oauth_token_secret N/A N/A login request user N/A redirect_url N/A N/A N/A request session get next_url redirect_url N/A N/A HttpResponseRedirect redirect_url N/A user_timeline N/A N/A request N/A N/A N/A An example view with Twython/OAuth hooks/calls to fetch data about the user in question. N/A user N/A N/A request user twitterprofile N/A twitter N/A Twython N/A settings TWITTER_KEY N/A settings TWITTER_SECRET N/A user oauth_token N/A user oauth_secret N/A user_tweets N/A N/A twitter get_home_timeline N/A N/A render_to_response tweets.html N/A tweets user_tweets N/A