RML is nothing more and nothing less tan a XML-style language created by ReportLab which describes the precise look of a printed page. So if you have many PDF files on your site and want to make them printable RML2PDF is a good choice. Integrate RML into your Django project at ease and add great looking PDF output to your website.
This project simply reads the template file 'hello.rml' into memory, and then substitutes a particular string using the Django templating engine. It then uses the rml2pdf python module's 'go' method to create a PDF from the RML. The resulting PDF is turned into a byte stream and returned to the browser.