django runserver + weasyprint + not taking the CSS files or getting css applied on the PDF + but working fine with Apache

16 views
Skip to first unread message

Maurya Allimuthu

unread,
Jun 11, 2019, 10:08:48 PM6/11/19
to Django users
Hi All,

We are having two server.

In one server ,
  • django runs with apache
  • Weasyprint version 0.40
  • PDF is rendered with CSS applied (path is in static folder)
In another server,
  • django runs with runserver
  • Weasyprint version 0.40
  • PDF is rendered WITHOUT the CSS (path is in static folder)
Could anyone help here why with django runserver , the weasyprint could not able to link the CSS files in the static folder while rendering/generating PDF

Thanks,
Maurya
djangoian
       


Reply all
Reply to author
Forward
0 new messages