summaryrefslogtreecommitdiff
path: root/docs/internals
diff options
context:
space:
mode:
authorMarten Kenbeek <marten.knbk@gmail.com>2015-12-30 16:51:16 +0100
committerTim Graham <timograham@gmail.com>2015-12-31 14:21:29 -0500
commit16411b8400ad08f90c236bb2e18f65c655f903f8 (patch)
treedf01123093c126222e8f492512472e5834966100 /docs/internals
parentdf3d5b1d73699b323aac377dffab039dca26c1e4 (diff)
Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
Thanks to Tim Graham for the review.
Diffstat (limited to 'docs/internals')
-rw-r--r--docs/internals/contributing/writing-code/coding-style.txt2
-rw-r--r--docs/internals/deprecation.txt5
2 files changed, 4 insertions, 3 deletions
diff --git a/docs/internals/contributing/writing-code/coding-style.txt b/docs/internals/contributing/writing-code/coding-style.txt
index bdf1c4bb45..d560cfed19 100644
--- a/docs/internals/contributing/writing-code/coding-style.txt
+++ b/docs/internals/contributing/writing-code/coding-style.txt
@@ -262,7 +262,7 @@ already been configured).
So, if there is a module containing some code as follows::
from django.conf import settings
- from django.core.urlresolvers import get_callable
+ from django.urls import get_callable
default_foo_view = get_callable(settings.FOO_VIEW)
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index b165450d6a..c03da8fd47 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -128,6 +128,8 @@ details on these changes.
* The ``shell --plain`` option will be removed.
+* The ``django.core.urlresolvers`` module will be removed.
+
.. _deprecation-removed-in-1.10:
1.10
@@ -152,8 +154,7 @@ details on these changes.
* Using an incorrect count of unpacked values in the ``for`` template tag
will raise an exception rather than fail silently.
-* The ability to :func:`~django.core.urlresolvers.reverse` URLs using a dotted
- Python path will be removed.
+* The ability to reverse URLs using a dotted Python path will be removed.
* Support for :py:mod:`optparse` will be dropped for custom management commands
(replaced by :py:mod:`argparse`).