1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #26516 -- Added minlength attribute when forms.CharField.min_length is set.

This commit is contained in:
Jon Dufresne
2016-04-18 17:57:05 -07:00
committed by Tim Graham
parent 836d475afe
commit 500e5a6886
5 changed files with 24 additions and 5 deletions

View File

@@ -256,6 +256,9 @@ Forms
* Form and widget ``Media`` is now served using
:mod:`django.contrib.staticfiles` if installed.
* The ``<input>`` tag rendered by :class:`~django.forms.CharField` now includes
a ``minlength`` attribute if the field has a ``min_length``.
Generic Views
~~~~~~~~~~~~~