diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-11-06 21:55:57 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-11-06 21:55:57 +0000 |
| commit | 7e28ba0b4cba9f9b7faed1862364a36fc964109e (patch) | |
| tree | dcc788318d7027de71a8b78487c352a06c474e3f | |
| parent | d5368d341c65a9b0606193f06bb017e51eb71d00 (diff) | |
Tiny docstring cleanup in middleware/common.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/middleware/common.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/django/middleware/common.py b/django/middleware/common.py index e794477b62..fb37f653c1 100644 --- a/django/middleware/common.py +++ b/django/middleware/common.py @@ -11,15 +11,14 @@ class CommonMiddleware: - Forbids access to User-Agents in settings.DISALLOWED_USER_AGENTS - - URL rewriting: based on the APPEND_SLASH and PREPEND_WWW settings, - this middleware will -- shocking, isn't it -- append missing slashes - and/or prepend missing "www."s. + - URL rewriting: Based on the APPEND_SLASH and PREPEND_WWW settings, + this middleware appends missing slashes and/or prepends missing "www."s. - - ETags: if the USE_ETAGS setting is set, ETags will be calculated from + - ETags: If the USE_ETAGS setting is set, ETags will be calculated from the entire page content and Not Modified responses will be returned appropriately. - - Flat files: for 404 responses, a flat file matching the given path + - Flat files: For 404 responses, a flat file matching the given path will be looked up and used if found. """ |
