Changes between Version 20 and Version 21 of ContributedMiddleware
- 08/11/2006 08:07:15 PM (10 years ago)
v20 v21 33 33 This version of the Locale from URL Middleware also sets a cookie and a request var whenever you go to a webpage that has a language set in it's url, so that it serves you the correct version when you go to a page that doesn't have any language code in it's url. 34 34 35 === [http://code. attardi.org/trunk/attardi/urlmiddleware.py URL Middleware] by Stefano J. Attardi === 35 === [http://code./urlmiddleware.py URL Middleware] by Stefano J. Attardi === 36 36 37 37 Cleans up urls by adding/removing trailing slashes, adding/removing the www. prefix, and allowing the language to be set from the url.