main/views.py
def players_game_log(request, player_id, season, season_type):
    """Individual player season game log page.
    """
    url = f'http://{request.get_host()}/api/players/{player_id}/{season}/{season_type}'
    data = requests.get(url).json()
    return render(request, 'main/player_games.html', context=data)
Individual player season game log page.
    
Individual player season game log page.
Individual player season game log page .
def players_game_log(request, player_id, season, season_type):
    url = f'http://{request.get_host()}/api/players/{player_id}/{season}/{season_type}'
    data = requests.get(url).json()
    return render(request, 'main/player_games.html', context=data)
def players_game_log ( request , player_id , season , season_type ) : url = f'http://{request.get_host()}/api/players/{player_id}/{season}/{season_type}' data = requests . get ( url ) . json ( ) return render ( request , 'main/player_games.html' , context = data )
Individual player season game log page.
Individual player season game log page .
"""Individual player season game log page.
    """
request
player_id
season
season_type