Hello Mudassar,
I agree with Ludovic : you could try weasyprint. I am using it on my
project and am very satisfied.
One hint : if I remember correctly, images on html page should be png in
order for pdf to be generated by default.
jpg support package is optional. See documentation
https://media
Hello,
To generate pdf document from html pages, I use weasyprint
http://weasyprint.org/ for my project .
Hope this helps.
Cheers.
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails
Hello,
Maybe you could use ImageMagick to show one page of the pdf as an image ?
This is what I have implemented on my project : first page of pdf files can
be pre-viewed before user uploads the whole file (if needed). In your case,
pre-viewing could be parametrized to show page ‘n’ of the p
Hello, I do use nginx + uwsgi + postgres. Maybe you could try one of
following points below ?
Cheers.
1) there is a very good tutorial to install nginx, see below. This is the
one I used for step by step installation on production server :
http://uwsgi-docs.readthedocs.io/en/latest/tutorials/Dja
My 2 cents :
I have started learning Python and Django from scratch 15 months ago. I
have bought 3 books which were VERY useful :
1) Two scoops of Django (Django 1.8) Daniel & Audrey Roy GreenFeld : very
good introduction to the Django world
2) Django by Example (Antonio Melé) : excellent implem
I am using Django 1.8.7 and Django-post-office to send mails with
attachment (for instance, one pdf file "test.pdf").
1) Strangely when a mail is sent with an attachment and an HTML_CONTENT (eg
"Hello World"), the mail is empty, except the file which is correctly
attached. This HTML_CONTENT doe
6 matches
Mail list logo