django 生成动态的PDF文件 安装WeasyPrint pip install WeasyPrint 创建一个PDF模板(template) 我们需要一个HTML文档给WeasyPrint输入。 hoooooolyhu 2020-03-25 20:49:47