@require_http_methods(['GET'])
@require_existing_repo
@require_access
@require_existing_rev
def repository_graphs(request, username, repository):

    requested_repo = Repo(Repo.get_repository_location(username, repository))
    branches = requested_repo.get_branches()

    return render(request, 'repository/repo-pjax.html',
                    {'template': 'graphs', 'repo_owner': username, 'repo_name': repository,
                        'repo_lsmsg': requested_repo.get_latest_status, 'num_branches': len(branches)})
View for viewing commits for repository.
dataset/ETHPy150Open Djacket/djacket/core/backend/repository/views.py/repository_graphs