【发布时间】:2013-09-02 09:22:04
【问题描述】:
我的 django 应用正在使用多帧 reportlab pdf 报告,我想添加一些条形码/二维码。
我遇到的问题是我添加到布局中的每个对象都必须是 Flowable。 所以问题是将 PlotArea(QrCodeWidget 的母类)转换为 Flowable。
如果我们在这里有答案,如果我们将 QrCodeWidget 添加为,我们可以得到错误消息
AttributeError: QrCodeWidget instance has no attribute 'getKeepWithNext'
【问题讨论】:
标签: python qr-code reportlab platypus