[Answer]-Passing variable to another class with dependent parameters

1👍

see how sessions are used in django, a good usage example can also be seen at the django.auth module

def select(request):
    ...
    request.session['access_token'] = str(response['access_token'])
    ...

def final(request):
    access_token = request.session['access_token']
    ...

Leave a comment