Kaydet (Commit) bc3540ce authored tarafından Tim Graham's avatar Tim Graham

Refs #26013 -- Removed deprecated django.core.urlresolvers module.

üst f65b1aee
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``.
.. 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``
---------------
......
......@@ -4,12 +4,6 @@
.. 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()``
=============
......
......@@ -340,3 +340,5 @@ these features.
* ``django.utils.functional.allow_lazy()`` is removed.
* The ``shell --plain`` option is removed.
* The ``django.core.urlresolvers`` module is removed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment