Changes between Version 25 and Version 26 of ContributedMiddleware


Ignore:
Timestamp:
10/05/2006 05:23:26 PM (9 years ago)
Author:
verbosus
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ContributedMiddleware

    v25 v26  
    6969Finally, ?lang=xx can be appended to any url to override the default language setting. This override is remembered for the following requests. For example, /article?lang=it would show the article in Italian regardless of brower settings or cookies, and any following request to the site would be shown in Italian by default.
    7070
     71=== [http://code.unicoders.org/django/trunk/middleware/sslmiddleware.py SSL Middleware] by Antonio Cavedoni ===
     72
     73Introduces a new setting, HTTPS_PATHS, which is a tuple of paths that should be treated as HTTPS-only. The middleware will redirect HTTP requests for paths starting with these values to their HTTPS counterpart. On the other hand, all HTTPS requests with paths starting with strings '''not''' in that tuple will be redirected back to their HTTP counterpart.
    7174
    7275=== [http://code.ibofobi.dk/public/wiki/XHTMLAsHTMLMiddleware XHTMLAsHTMLMiddleware] by Sune Kirkeby ===
Back to Top