summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-10-29 17:02:02 -0400
committerTim Graham <timograham@gmail.com>2015-10-29 18:07:09 -0400
commit85a41b449bfe40307d1a9c482fc39dd1f82ba470 (patch)
tree8e439a275597fc077e0dff88324bf98254782f7e
parentafcbdf28054e8a661649aa9f4dc3f16f5ba96bec (diff)
downloaddjango-85a41b449bfe40307d1a9c482fc39dd1f82ba470.tar.gz
[1.7.x] Fixed #23985 -- Documented a backwards incompatible change in URLValidator.
Backport of 8c5b8018f69226389a1373523c41cd37883c9556 from master
-rw-r--r--docs/releases/1.7.txt5
1 files changed, 5 insertions, 0 deletions
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