My django app is using a multi-frames reportlab pdf report in witch I would like to add some barcodes/qr-codes.
The problem I have is that every object I add to my layout have to be a Flowable. So the question would be as to cast a PlotArea (mother class of QrCodeWidget) as Flowable.
If we have an answer here the error message we can get if we add the QrCodeWidget as
AttributeError: QrCodeWidget instance has no attribute 'getKeepWithNext'
Ok, I made my own Flowable, it was simpler than I taught.
It's as simple as doing it on a canva with this API.