diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/validators.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/ref/validators.txt b/docs/ref/validators.txt index 8148dd6f7a..0136fb45a3 100644 --- a/docs/ref/validators.txt +++ b/docs/ref/validators.txt @@ -286,6 +286,7 @@ to, or in lieu of custom ``field.clean()`` methods. Raises a :exc:`~django.core.exceptions.ValidationError` with a code of ``'invalid_extension'`` if the extension of ``value.name`` (``value`` is a :class:`~django.core.files.File`) isn't found in ``allowed_extensions``. + The extension is compared case-insensitively with ``allowed_extensions``. .. warning:: |
