Example #1
0
def card_export(request, repo_base, repo, card_name):
    username = request.user.get_username()
    manager = DataHubManager(username, repo_base)
    manager.export_card(repo, card_name)

    return HttpResponseRedirect(
        reverse('browser-repo_files', args=(repo_base, repo)))
Example #2
0
def card_export(request, repo_base, repo, card_name):
    username = request.user.get_username()
    manager = DataHubManager(username, repo_base)
    manager.export_card(repo, card_name)

    return HttpResponseRedirect(
        reverse('browser-repo_files', args=(repo_base, repo)))