From 35c2c3704185dfdf6498ccf625872fa28bd7ece1 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Fri, 4 Jul 2014 12:48:13 -0400 Subject: Fixed #22943 -- Correctly serialize compiled regexes. Thanks to antialiasis at gmail dot com for the patch. --- docs/releases/1.7.txt | 7 ------- 1 file changed, 7 deletions(-) (limited to 'docs') diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index dc42d57e57..e000dfcc6b 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -1390,13 +1390,6 @@ Miscellaneous a relation from the related object back to the content type for filtering, ordering and other query operations. -* When a model field's :attr:`~django.db.models.Field.validators` contains - a :class:`~django.core.validators.RegexValidator`, the regular expression - must now be passed as a regular expression string. You can no longer use a - pre-compiled regular expression in this case, as it is not serializable. - The :attr:`~django.core.validators.RegexValidator.flags` attribute was added - to :class:`~django.core.validators.RegexValidator` to simplify this change. - * When running tests on PostgreSQL, the :setting:`USER` will need read access to the built-in ``postgres`` database. This is in lieu of the previous behavior of connecting to the actual non-test database. -- cgit v1.3