Refs #26013 -- Removed deprecated django.core.urlresolvers module.
This commit is contained in:
parent
f65b1aee71
commit
bc3540ce2c
|
@ -1,9 +0,0 @@
|
||||||
import warnings
|
|
||||||
|
|
||||||
from django.urls import * # NOQA
|
|
||||||
from django.utils.deprecation import RemovedInDjango20Warning
|
|
||||||
|
|
||||||
warnings.warn(
|
|
||||||
"Importing from django.core.urlresolvers is deprecated in favor of "
|
|
||||||
"django.urls.", RemovedInDjango20Warning, stacklevel=2
|
|
||||||
)
|
|
|
@ -173,12 +173,6 @@ URL Resolver exceptions
|
||||||
|
|
||||||
URL Resolver exceptions are defined in ``django.urls``.
|
URL Resolver exceptions are defined in ``django.urls``.
|
||||||
|
|
||||||
.. deprecated:: 1.10
|
|
||||||
|
|
||||||
In older versions, these exceptions are located in
|
|
||||||
``django.core.urlresolvers``. Importing from the old location will continue
|
|
||||||
to work until Django 2.0.
|
|
||||||
|
|
||||||
``Resolver404``
|
``Resolver404``
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|
|
@ -4,12 +4,6 @@
|
||||||
|
|
||||||
.. module:: django.urls
|
.. module:: django.urls
|
||||||
|
|
||||||
.. deprecated:: 1.10
|
|
||||||
|
|
||||||
In older versions, these functions are located in
|
|
||||||
``django.core.urlresolvers``. Importing from the old location will continue
|
|
||||||
to work until Django 2.0.
|
|
||||||
|
|
||||||
``reverse()``
|
``reverse()``
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
|
|
@ -340,3 +340,5 @@ these features.
|
||||||
* ``django.utils.functional.allow_lazy()`` is removed.
|
* ``django.utils.functional.allow_lazy()`` is removed.
|
||||||
|
|
||||||
* The ``shell --plain`` option is removed.
|
* The ``shell --plain`` option is removed.
|
||||||
|
|
||||||
|
* The ``django.core.urlresolvers`` module is removed.
|
||||||
|
|
Loading…
Reference in New Issue