mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.5.x] Fixed #20792 -- Corrected DISALLOWED_USER_AGENTS docs.
Thanks simonb for the report. Backport of dab52d99fc from master
This commit is contained in:
parent
0191011532
commit
be6d795854
@ -37,7 +37,7 @@ defines. See the :doc:`cache documentation </topics/cache>`.
|
|||||||
Adds a few conveniences for perfectionists:
|
Adds a few conveniences for perfectionists:
|
||||||
|
|
||||||
* Forbids access to user agents in the :setting:`DISALLOWED_USER_AGENTS`
|
* Forbids access to user agents in the :setting:`DISALLOWED_USER_AGENTS`
|
||||||
setting, which should be a list of strings.
|
setting, which should be a list of compiled regular expression objects.
|
||||||
|
|
||||||
* Performs URL rewriting based on the :setting:`APPEND_SLASH` and
|
* Performs URL rewriting based on the :setting:`APPEND_SLASH` and
|
||||||
:setting:`PREPEND_WWW` settings.
|
:setting:`PREPEND_WWW` settings.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user