@require_http_methods(['GET'])
@require_existing_repo
@require_access
@require_existing_rev
def repository_branches(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': 'branches', 'repo_owner': username, 'repo_name': repository,
                        'num_branches':len(branches), 'HEAD': requested_repo.get_head(), 'branches': branches})
Loading an app from an egg that has an import error in its models module raises that error
dataset/ETHPy150Open Djacket/djacket/core/backend/repository/views.py/repository_branches--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/app_loading/tests.py/EggLoadingTest.test_egg5