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:05 -0400
commite20a27b52b0f02480255e7af16d877d079f4fe2b (patch)
treec6e01416a430f7f1fbf2a5ebb402422dce794907
parent12f4db23aaabc99e68c13198c8813888da079282 (diff)
downloaddjango-e20a27b52b0f02480255e7af16d877d079f4fe2b.tar.gz
[1.8.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 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