Small snippets/middlewares I often use for profiling Django sites. Provided as-is.