Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Internet > HTTP (WWW)

    django-xhtml2pdf 0.0.3

    Download button

    No screenshots available
    Downloads: 195  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Christopher Glass | More programs
    BSD License / FREE
    August 31st, 2011, 02:45 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    django-xhtml2pdf description

    Generate PDFs from templates

    django-xhtml2pdf is a wrapper code between the Django project and the xhtml2pdf project.

    What it does is simply allow people to create xhtml2pdf templates using all the cool django things like STATIC_URL etc.. (like one would for a webpage template), and the utils function makes all the images and ressources appear in the pdf.

    Usage

    Simply do the following:

    from django_xhtml2pdf.utils import generate_pdf

    def myview(response):
     resp = HttpResponse(content_type='application/pdf')
     result = generate_pdf('my_template.html', file_object=resp)
     return result



    Product's homepage

    Requirements:

    · Python
    · Django

      


    TAGS:

    PDF generator | Django templates | Django | xhtml2pdf | PDF

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM