Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

<Include a description of your project>

Project Description

django-pdf lets you to render any view as pdf, css and images are also available
in your templates.

.. image::
:alt: Build Status

1. pisa>=3.0.33
2. pyPdf>=1.13
4. html5lib>=0.95
5. mock (for testing)

Quick start

1. Define ``STATIC_ROOT`` and ``STATIC_URL`` in your file.
2. Subclass RenderPDF, set the ``template_name`` attribute.

For example, in myapp/

from myapp.models import Transaction
from pdf.views import RenderPDF
from django.views.generic import ListView

class TransactionListView(RenderPDF, ListView):
# base_queryset is a queryset that contains all the objects that are
# accessible by the API:
template_name = 'mydpf.html'
model = Transaction

In myapp/

from myapp.views import TransactionListView

urlpatterns = patterns('',
url(r'^transactions/$', TransactionListView.as_view()),

Running the Tests

You can run the tests with via::

python test




django-secure-input is released under the BSD License. See the
`LICENSE <>`_ file for more details.


If you think you've found a bug or are interested in contributing to this project
check out `django-secure-input on Github <>`_.

Development sponsored by `RochApps, LLC
Release History

Release History

History Node


History Node


This version
History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-pdfy-0.2.0.tar.gz (4.5 kB) Copy SHA256 Checksum SHA256 Source Dec 23, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting