예제 #1
0
파일: views.py 프로젝트: hobson/django-git
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
파일: views.py 프로젝트: hobson/django-git
def repo(request, repo, template_name='django_git/repo.html'):
    #import ipdb; ipdb.set_trace() ############################## Breakpoint ##############################
    return template_name, {'repo': get_repo(repo)}