Re: Recommended courses/materials for Python/Django course...

2016-06-17 Thread 06userit
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

Re: Any one tried of Django Postgres with Ngnix?

2016-07-14 Thread 06userit
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

Re: Serving very large pdf files with django

2016-09-03 Thread 06userit
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

Re: export html to pdf

2016-09-14 Thread 06userit
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

Re: django form converter to PDF

2016-10-03 Thread 06userit
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

Django Post Office - html_content KO with attachment

2016-01-11 Thread 06userit
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