Tuesday, June 11, 2019

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

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
       


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/97f559b7-36a3-49c8-acc0-06f059bf3c67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment