Преглед на файлове

Fixed #20792 -- Corrected DISALLOWED_USER_AGENTS docs.

Thanks simonb for the report.
Brenton Cleeland преди 11 години
родител
ревизия
dab52d99fc
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      docs/ref/middleware.txt

+ 1 - 1
docs/ref/middleware.txt

@@ -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.