1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #32565 -- Moved internal URLResolver view-strings mapping to admindocs.

Moved the functionality of URLResolver._is_callback(),
URLResolver._callback_strs, URLPattern.lookup_str() to
django.contrib.admindocs.
This commit is contained in:
Alokik Vijay
2022-05-17 09:46:26 +02:00
committed by Carlton Gibson
parent 2a5d2eefc7
commit 7f3cfaa12b
8 changed files with 87 additions and 50 deletions

View File

@@ -594,6 +594,10 @@ Miscellaneous
:meth:`~django.db.models.BaseConstraint.validate` method to allow those
constraints to be used for validation.
* The undocumented ``URLResolver._is_callback()``,
``URLResolver._callback_strs``, and ``URLPattern.lookup_str()`` have been
moved to ``django.contrib.admindocs.utils``.
.. _deprecated-features-4.1:
Features deprecated in 4.1