main/views.py
def game_detail(request, game_id):
    """Single game box score page.
    """
    response = requests.get(f'http://{request.get_host()}/api/games/{game_id}')
    return render(request, 'main/game_detail.html', context=response.json())
Single game box score page.
    
Single game box score page.
Single game box score page .
def game_detail(request, game_id):
    response = requests.get(f'http://{request.get_host()}/api/games/{game_id}')
    return render(request, 'main/game_detail.html', context=response.json())
def game_detail ( request , game_id ) : response = requests . get ( f'http://{request.get_host()}/api/games/{game_id}' ) return render ( request , 'main/game_detail.html' , context = response . json ( ) )
Single game box score page.
Single game box score page .
"""Single game box score page.
    """
request
game_id