From e20a27b52b0f02480255e7af16d877d079f4fe2b Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 29 Oct 2015 17:02:02 -0400 Subject: [PATCH] [1.8.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 8ed76da467..dfcc8859b3 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -1462,6 +1462,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