

def begin_auth(request):
    'The view function that initiates the entire handshake.\n\n    For the most part, this is 100% drag and drop.\n    '
    twitter = Twython(settings.TWITTER_KEY, settings.TWITTER_SECRET)
    callback_url = request.build_absolute_uri(reverse('twython_django_oauth.views.thanks'))
    auth_props = twitter.get_authentication_tokens(callback_url)
    request.session['request_token'] = auth_props
    request.session['next_url'] = auth_props.GET.get('next', None)
    return HttpResponseRedirect(auth_props['auth_url'])

dataset/ETHPy150Open ryanmcgrath/twython-django/twython_django_oauth/views.py begin_auth/VarMisuse@62/150 `request`->`auth_props`