From 85a41b449bfe40307d1a9c482fc39dd1f82ba470 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 29 Oct 2015 17:02:02 -0400 Subject: [PATCH] [1.7.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 e2723caa9f..453461b69b 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -1464,6 +1464,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