Code


Version 11 (modified by sune, 8 years ago) (diff)

Fix links

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.

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. (This is no longer needed, since the admin-templates now live in a namespace of their own).

CsrfMiddleware by Luke Plant

Plug-in protection against Cross Site Request Forgery attacks.

Attachments (5)

Download all attachments as: .zip