Code

Changes between Version 20 and Version 21 of ContributedMiddleware


Ignore:
Timestamp:
08/11/06 18:07:15 (8 years ago)
Author:
Stefano J. Attardi <django@…>
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ContributedMiddleware

    v20 v21  
    3333This 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. 
    3434 
    35 === [http://code.attardi.org/trunk/attardi/urlmiddleware.py URL Middleware] by Stefano J. Attardi === 
     35=== [http://code.unicoders.org/django/trunk/middleware/urlmiddleware.py URL Middleware] by Stefano J. Attardi === 
    3636 
    3737Cleans up urls by adding/removing trailing slashes, adding/removing the www. prefix, and allowing the language to be set from the url.