mirror of https://github.com/django/django.git
[1.9.x] Fixed #23985 -- Documented a backwards incompatible change in URLValidator.
Backport of 8c5b8018f6
from master
This commit is contained in:
parent
adc9fa8324
commit
83607e2b7a
|
@ -1461,6 +1461,11 @@ Miscellaneous
|
||||||
the default project template (pre-1.7.2 only), a database must be created
|
the default project template (pre-1.7.2 only), a database must be created
|
||||||
before accessing a page using :djadmin:`runserver`.
|
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:
|
.. _deprecated-features-1.7:
|
||||||
|
|
||||||
Features deprecated in 1.7
|
Features deprecated in 1.7
|
||||||
|
|
Loading…
Reference in New Issue