Пример #1
0
def commit(request, repo, commit, template_name='django_git/commit.html'):
    return template_name,{'diffs': get_commit(repo, commit).diffs, 'repo': get_repo(repo), 'commit': commit }
Пример #2
0
def repo(request, repo, template_name='django_git/repo.html'):
    #import ipdb; ipdb.set_trace() ############################## Breakpoint ##############################
    return template_name, {'repo': get_repo(repo)}