Code


Version 8 (modified by Sune Kirkeby <sune.kirkeby@…>, 9 years ago) (diff)

TemplateDirsHacker

Contributed middleware

See the middleware documentation on how to enable and write your own middleware. This page collects middleware written by people in the community.

XHTMLAsHTMLMiddleware by Sune Kirkeby

Sends application/xhtml+xml header to browsers that understand it.

GZipMiddleware by Sune Kirkeby

Gzips your pages for browsers that accept gzip compression.

HTTPMiddleware by Sune Kirkeby

Implementes common HTTP features; add Date and Content-Length headers, handle conditional GETs and HEAD requests.

TemplateDirsHacker by Sune Kirkeby

Munges settings.TEMPLATE_DIRS for each request; useful if you want the admin-pages on the same virtual-host as your main site, and you have template-names which clash with the admin-templates.

Attachments (5)

Download all attachments as: .zip