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

dj-wkhtmltopdf

It works on wkhtmltopdf . dj-wkhtmltopdf will allow user to organize their own pdf generator through django admin without any deployment :).

Mainly I was inspired by django-wkhtmltopdf . When I am working on Eccomerce project we want to generate invoice for orders.So we preferred wkhtmltopdf for pdf generator using django-wkhtmltopdf wrapper. Every time we are doing some modifications in local server and pushing this modifications into production but we have faced different(I mean design) issues in production,then we resolved issues in local and pushed into production,but it is so painful then I came to this thought. Requirements:

Install the wkhtmltopdf . Python 2.6+ and 3.3+ is supported. Installation:

Run pip install dj-wkhtmltopdf.

Add ‘djwkhtmltopdf’ to INSTALLED_APPS in your settings.py .

Then run the python manage.py syncdb .

By default it will execute the first wkhtmltopdf command found on your PATH .

If you can’t add wkhtmltopdf to your PATH you can set WKHTMLTOPDF_CMD to a specific execuatable:

e.g. in settings.py:

WKHTML_TO_PDF_CMD = ‘/path/to/my/wkhtmltopdf’

You may also set wkhtmltopdf options through django admin or WKHTML_OPTIONS in settings.py to a dictionary of default command-line options.

Like this is: WKHTML_OPTIONS = { ‘–quiet’: True, } Important Note:

I’ve tested it only on Ubuntu but haven’t tested it on Mac and Windows. License:

MIT licensed. See the bundled LICENSE file for more details

Release History

Release History

1.0.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

1.0.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

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
dj_wkhtmltopdf-1.0.2-py2.py3-none-any.whl (15.4 kB) Copy SHA256 Checksum SHA256 2.7 Wheel May 18, 2015
dj-wkhtmltopdf-1.0.2.tar.gz (11.6 kB) Copy SHA256 Checksum SHA256 Source May 18, 2015

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