Changes between Version 37 and Version 38 of ContributedMiddleware
- 07/28/07 17:10:53 (8 years ago)
v37 v38 29 29 Lets you serve multiple distinct host names from a single Django instance, by switching between different URL configurations on the fly. 30 30 31 == [wiki:PageStatsMiddleware Page Stats Middleware] by [http://davidavraamides.net/blog/2006/07/03/page-stats-middleware/ David Avraamides]== 31 ==== 32 32 33 33 Display performance metrics measured during the generation of a page. Allows you to display total time, python time, database time, and number of queries for the rendered page. 34 34 35 35 36 == StripWhitespaceMiddleware by Doug Van Horn== 36 ==== 37 37 38 38 Removes extra whitespace from response content. It's kind of nice for removing extra line breaks, but it also removes leading spaces. Probably not too important for most of us, but for the bandwidth conscious it might be helpful. If you would like to keep your indentions intact, then use `'\s*\n+'` as the regular expression string instead of `'\s*\n+\s*'`.