0
0
mirror of https://github.com/django/django.git synced 2024-11-29 14:46:18 +01:00

Fixed #20792 -- Corrected DISALLOWED_USER_AGENTS docs.

Thanks simonb for the report.
This commit is contained in:
Brenton Cleeland 2013-07-25 20:57:49 +10:00 committed by Tim Graham
parent 10f8a21002
commit dab52d99fc

View File

@ -37,7 +37,7 @@ defines. See the :doc:`cache documentation </topics/cache>`.
Adds a few conveniences for perfectionists:
* 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
:setting:`PREPEND_WWW` settings.