35 |
try: |
try: |
36 |
from reportlab.pdfgen import canvas |
from reportlab.pdfgen import canvas |
37 |
except ImportError: |
except ImportError: |
38 |
raise "Unable to load reportlab" |
raise "Unable to load reportlab. You can get reportlab from"+\ |
39 |
|
" www.reportlab.org. If you have debian just do a apt-get install "+\ |
40 |
|
" python-reportlab." |
41 |
|
|
42 |
from reportlab.platypus.doctemplate import PageTemplate, BaseDocTemplate |
from reportlab.platypus.doctemplate import PageTemplate, BaseDocTemplate |
43 |
from reportlab.platypus import Table, Paragraph |
from reportlab.platypus import Table, Paragraph |