You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using this package in my django app but I have the following issue. When I try to reproduce the demo example within my app, I get a pdf but all the styles are missing. And I really can't figure out why.
Basically I kept the same template, put it in my folder templates where it is found. Created a view with the DemoPDFView with the relevant entry in the urls.py file.
Everything is found but there is no style to the pdf. It looks like what you see in the attachment.
The only change I did to the template was to remove the logo image because it wasn't found. Which is bizarre because I copied the relevant file and folder to my static but still wouldn't be found. Might be a clue to what is wrong.
Any idea in which direction I could be looking for the answer would be greatly appreciated.
Hi,
I am using this package in my django app but I have the following issue. When I try to reproduce the demo example within my app, I get a pdf but all the styles are missing. And I really can't figure out why.
Basically I kept the same template, put it in my folder templates where it is found. Created a view with the DemoPDFView with the relevant entry in the urls.py file.
Everything is found but there is no style to the pdf. It looks like what you see in the attachment.
The only change I did to the template was to remove the logo image because it wasn't found. Which is bizarre because I copied the relevant file and folder to my static but still wouldn't be found. Might be a clue to what is wrong.
Any idea in which direction I could be looking for the answer would be greatly appreciated.
Thanks,
document.pdf
The text was updated successfully, but these errors were encountered: