rhouse2 / django-rest2pdf Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/django-rest2pdf
License: BSD 3-Clause "New" or "Revised" License
Automatically exported from code.google.com/p/django-rest2pdf
License: BSD 3-Clause "New" or "Revised" License
Django PDF Creation =================== http://docs.djangoproject.com/en/1.1/howto/outputting-pdf/#howto-outputting-pdf documents a means of generating PDFs with Django. However, putting text on a page takes a lot of coding effort using the ReportLab API directly. reStructuredText is now the formatting approach behind a lot of Python documentation and tools (e.g. Sphinx) and a library (rst2pdf) now exists to translated reStucturedText to PDF directly, with helpful features such as hyperlinked table of contents automatically generated. This application uses Django templates to generate a reStructuredText intermediary file from model content, and then rst2pdf converts that text into a pdf file, returning it in an http response object. The installation requirements and instructions are in the INSTALL file. See the docs directory for further information.
Hi,
I've pushed out some changes to my fork. The first 3 are minor changes that
don't change any behaviour; the last one implements the said feature:
http://code.google.com/r/rctay89-django-rest2pdf/source/detail?
r=b12001773980f0fab2c6ffaf55caa1153c99373f
This lets users add/change arguments to `rst2pdf.createpdf.RstToPdf()` with
the argument `rst_to_pdf_args`.
I've also added a short paragraph in quickstart.
Original issue reported on code.google.com by [email protected]
on 21 Mar 2010 at 8:01
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.