Skip to main content

Render OpenDocument files from templates, using Appy POD

Project description

django-appypod allows to serve OpenDocument Text files (.odt) from templates and contexts, using Appy POD framework.


pip install django-appypod

Requires appy.pod in python path. It has to be deployed manually, since it does not come with any

A possibility is to create a .pth file in your site-packages folder, or modify sys.path on-the-fly.

Alternatively, if you use buildout, a few lines do the job :

extra-paths += src/appy-archive/
parts += download-appy-archive

recipe =
url =
destination = src/appy-archive/


Using class-based generic views :

from django.view.generic.detail import DetailView

from djappypod.response import OdtTemplateResponse

class YourDocument(DetailView):
    response_class = OdtTemplateResponse
    template_name = "your/template.odt"

Using classic views functions :

def your_view(request):
    response = OdtTemplateResponse(request, "your/template.odt", {
        'title': 'Simple as hello ;)'
    return response

Follow instructions in Appy POD documentation for designing your OpenDocument templates.




  • Lesser GNU Public License


0.0.1 (2012-09-11)

  • Initial working version.

Project details

Download files

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

Files for django-appypod, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size django-appypod-0.0.1.tar.gz (6.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page