Changeset 2948
- Timestamp:
- 05/19/06 22:35:25 (2 years ago)
- Files:
-
- django/trunk/docs/middleware.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/middleware.txt
r2814 r2948 60 60 * Performs URL rewriting based on the ``APPEND_SLASH`` and ``PREPEND_WWW`` 61 61 settings. If ``APPEND_SLASH`` is ``True``, URLs that lack a trailing 62 slash will be redirected to the same URL with a trailing slash. If 63 ``PREPEND_WWW`` is ``True``, URLs that lack a leading "www." will be 62 slash will be redirected to the same URL with a trailing slash, unless the 63 last component in the path contains a period. So ``foo.com/bar`` is 64 redirected to ``foo.com/bar/``, but ``foo.com/bar/file.txt`` is passed 65 through unchanged. 66 67 If ``PREPEND_WWW`` is ``True``, URLs that lack a leading "www." will be 64 68 redirected to the same URL with a leading "www." 65 69
