This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
========================
django-pdfy
========================

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

.. image::
https://secure.travis-ci.org/rochapps/django-pdfy.png
:alt: Build Status
:target: https://secure.travis-ci.org/rochapps/django-pdf

Requirements
============
1. django>=1.3
2. xhtml2pdf==0.0.5
5. mock (for testing)

Install
=======
Use pip to install::

pip install django-pdfy

Quick start
===========

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

For example, in myapp/views.py::

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

class TransactionListView(RenderPDF, ListView):
template_name = 'mypdf.html'
model = Transaction

In myapp/urls.py::

from myapp.views import TransactionListView

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


Running the Tests
------------------------------------

You can run the tests with via::

python setup.py test

or::

python runtests.py


License
--------------------------------------

django-secure-input is released under the BSD License. See the
`LICENSE <https: github.com="" rochapps="" django-pdf="" blob="" master="" license="">`_ file for more details.


Contributing
--------------------------------------

If you think you've found a bug or are interested in contributing to this project
check out `django-pdfy on Github <https: github.com="" rochapps="" django-pdfy="">`_.

Development sponsored by `RochApps, LLC
<http: www.rochapps.com="" services="">`_.
Release History

Release History

0.2.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

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

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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