diff options
| author | Arne de Laat <arne@delaat.net> | 2017-06-06 10:57:08 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-06-07 16:53:36 -0400 |
| commit | 681d2599ee224826de0050f92f65fdf96bb6a0ca (patch) | |
| tree | f8adfb87fa360fe12ab9895140cd71717c4645a2 /docs/ref/validators.txt | |
| parent | b137add6cf0cd0e7e7d7d2dff2902dd54e92453e (diff) | |
Fixed #28165 -- Ignored case in FileExtensionValidator's allowed_extensions.
Diffstat (limited to 'docs/ref/validators.txt')
| -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:: |
