def document_link(request, docid): response = get_download_response(request, docid) return response
def document_download(request, docid): response = get_download_response(request, docid, attachment=True) return response