If you have reportlab installed you can make them directly in PDF:
from reportlab.pdfgen.canvas import Canvas
from reportlab.platypus import Table
from reportlab.lib.pagesizes import A4
from reportlab.lib.units import cm
import cStringIO
class PDF(object):
def __init__(self, page_size=A4, fon
Hi Massimo,
No thank you, i use weasyprint for making PDFs, which is very easy with
self made html views.
This topic goes about using web2py to make excel sheets.
Maybe you have some ideas Massimo?
Thank you!
Op zondag 26 oktober 2014 16:34:58 UTC+1 schreef Stefan van den Eertwegh:
>
> Hi,
>
>
I think your problems comes from the fact that any external library doesn't
know how to handle T objects.
You should use str(T('something')) instead to convert T instances to
strings, that will be digested by external libs pretty easily.
On Sunday, October 26, 2014 7:18:26 PM UTC+1, Stefan van d
3 matches
Mail list logo