From 83607e2b7ad8e20a5ad4892b711f7a83aeea073e Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 29 Oct 2015 17:02:02 -0400 Subject: [PATCH] [1.9.x] Fixed #23985 -- Documented a backwards incompatible change in URLValidator. Backport of 8c5b8018f69226389a1373523c41cd37883c9556 from master --- docs/releases/1.7.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index 9ccbd815e1..edabb0d15e 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -1461,6 +1461,11 @@ Miscellaneous the default project template (pre-1.7.2 only), a database must be created before accessing a page using :djadmin:`runserver`. +* The addition of the ``schemes`` argument to ``URLValidator`` will appear + as a backwards-incompatible change if you were previously using a custom + regular expression to validate schemes. Any scheme not listed in ``schemes`` + will fail validation, even if the regular expression matches the given URL. + .. _deprecated-features-1.7: Features deprecated in 1.7