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

This commit is contained in:
Tim Graham 2016-12-31 09:59:51 -05:00
parent f65b1aee71
commit bc3540ce2c
4 changed files with 2 additions and 21 deletions

View File

@ -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
)

View File

@ -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``
---------------

View File

@ -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()``
=============

View File

@ -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.