diff --git a/docs/ref/validators.txt b/docs/ref/validators.txt index 8323b55909..ecb0daa96f 100644 --- a/docs/ref/validators.txt +++ b/docs/ref/validators.txt @@ -188,6 +188,12 @@ to, or in lieu of custom ``field.clean()`` methods. .. _valid URI schemes: https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml + .. warning:: + + Values starting with ``file:///`` will not pass validation even + when the ``file`` scheme is provided. Valid values must contain a + host. + .. attribute:: max_length .. versionadded:: 3.2.20