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 }
def repo(request, repo, template_name='django_git/repo.html'): #import ipdb; ipdb.set_trace() ############################## Breakpoint ############################## return template_name, {'repo': get_repo(repo)}