Skip to content

newamericafoundation/petey-pdf-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Petey F PDF generator

Petey F uses weasyprint to generate PDFs. Their documentation is pretty good, so check it out first.

WeasyPrint takes an HTML/CSS document and converts it to a PDF. On newamerica-cms, the HTML document for a report is rendered using a standard Django template and CSS styling. The rendered HTML is passed to weasyprint.HTML and the resulting PDF is saved to the report.

And that's really all there is to it.

About

pdf generation separated out from the rest of the website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •