Metadata-Version: 1.1
Name: django-uwkhtmltopdf
Version: 0.2.0
Summary: A Django app to generate pdfs from templates using wkhtmltopdf
Home-page: https://github.com/xrmx/django-uwkhtmltopdf
Author: Riccardo Magliocchetti
Author-email: riccardo.magliocchetti@gmail.com
License: BSD License
Description: django-uwkhtmltopdf
        ===================
        
        A simple Django app to generate pdfs from templates using wkhtmltopdf.
        
        The code is basically a fork of django-xhtml2pdf that uses wkhtmltopdf to avoid xhtml2pdf shortcomings.
        
        Please note that the app is thought to be simple not feature rich.
        
        Usage
        -----
        
        In settings.py:
        
            WKHTMLTOPDF_CMD = '/path/to/wkhtmltopdf'
        
        In views.py:
        
            from django_uwkhtmltopdf.utils import generate_pdf
        
            def myview(response):
                resp = HttpResponse(content_type='application/pdf')
                result = generate_pdf('my_template.html', file_object=resp)
                return result
        
Platform: OS Independent
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
