Snippet List
with this middleware you can use tidy to prettify your html, just add the class to the `MIDDLEWARE_CLASSES` setting.
tidy has an enormous number of options, se [Tidy Options Reference](http://tidy.sourceforge.net/docs/quickref.html) .
you must have [µTidylib](http://utidylib.berlios.de/) installed.
with this you can have context variables which know the media url and the urls of all your applications, if you need it.
save the code as myapp/context_processors.py and add the following line to `TEMPLATE_CONTEXT_PROCESSORS` setting
"mysite.myapp.context_processors.url_info",
For each application you need to know the url set `MYAPP_URL` and add it to dict.
marchino has posted 2 snippets.