Deco

Imagine combining flatpages, django templates, markdown, textile, and the ability to render the content using templatetags. Deco is a reusable Django application that does just that.

Rationale

When you build a Django site, you have application-generated content, and you have static HTML that belongs in templates. Usually there's also some semi-static content, like "about" pages and sidebars and footers, that rarely changes; most of the time it ends up in the templates too.

Deco is built to fill that niche - it's sort of like django.contrib.flatpages, only much more flexible. You can write plain text, HTML, markdown, textile, or even use Django's template syntax.

Deco outputs content in several ways: it can serve whole pages (like flatpages), or through template tags - to ebmed in your site's templates, or simply return a string, to use however you like. You can also use Deco as a simple CMS: pages and content blocks are editable through the admin interface, and Django templates bring everything together.

Features

See also