summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorSi Feng <si.feng@me.com>2013-07-21 17:27:56 -0700
committerTim Graham <timograham@gmail.com>2014-02-10 05:38:43 -0500
commitb102c27ff4d21ea6262e600227530f75337a5df2 (patch)
tree448783436b3dd1bcc27576d9cc1d7e5fbc3477a8 /docs/releases
parent0d98422b1365ae1e75051036936aab31248d5ee1 (diff)
Fixed #20784 -- Added inverse_match parameter to RegexValidator.
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/1.7.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
index 813e425f05..255cc35fa3 100644
--- a/docs/releases/1.7.txt
+++ b/docs/releases/1.7.txt
@@ -697,6 +697,12 @@ Tests
Validators
^^^^^^^^^^
+* :class:`~django.core.validators.RegexValidator` now accepts an optional
+ Boolean :attr:`~django.core.validators.RegexValidator.inverse_match` argument
+ which determines if the :exc:`~django.core.exceptions.ValidationError` should
+ be raised when the regular expression pattern matches (``True``) or does not
+ match (``False``, by default) the provided ``value``.
+
* :class:`~django.core.validators.URLValidator` now accepts an optional
``schemes`` argument which allows customization of the accepted URI schemes
(instead of the defaults ``http(s)`` and ``ftp(s)``).