示例#1
0
def PDFGenOld(request, pkR):
    from iondb.utils import makePDF

    pkR = pkR[:len(pkR) - 4]
    return http.HttpResponse(makePDF.getOldPDF(pkR),
                             mimetype="application/pdf")
示例#2
0
文件: views.py 项目: vswilliamson/TS
def PDFGenOld(request, pkR):
    from iondb.utils import makePDF
    pkR = pkR[:len(pkR)-4]
    return http.HttpResponse(makePDF.getOldPDF(pkR), mimetype="application/pdf")