Django: Problem rendering and downloading HTML in PDF format, styles and resources are not applied correctly
I am trying to generate a PDF with data previously entered in Django, the base of the PDF is with HTML, when creating the HTML it is rendered in order and as I want when viewing it with the “”Live Preview” extension in Visual Studio Code, but when transform it to PDF in my project, it is generated badly and messy (I’m sorry if I describe myself badly, it’s the first time I use this platform D:)The idea is that it looks something like this: HTML, but when you download the PDF it looks like this: Bad PDF