Fixed #26107 -- Added option to int_list_validator() to allow negative integers.

This commit is contained in:
Akshesh 2016-02-16 03:40:00 +05:30 committed by Tim Graham
parent b954ad0640
commit d58aaa24e3
4 changed files with 22 additions and 5 deletions

View file

@ -355,6 +355,10 @@ Validators
domain name labels to 63 characters and the total length of domain
names to 253 characters per :rfc:`1034`.
* :func:`~django.core.validators.int_list_validator` now accepts an optional
``allow_negative`` boolean parameter, defaulting to ``False``, to allow
negative integers.
Backwards incompatible changes in 1.10
======================================