To generate PDF use xhtml2pdf. ... app/utils.py from xhtml2pdf import pisa def render_to_pdf(template_src, context_dict): result = BytesIO() template ...
確定! 回上一頁