From 9cb1ffa67bb0d13f86c2d4627428fcaa4513136d Mon Sep 17 00:00:00 2001 From: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:11:22 +0100 Subject: Refs #35090 -- Removed support for django.urls.register_converter() overriding existing converters per deprecation timeline. --- docs/ref/urls.txt | 4 ---- docs/releases/6.0.txt | 3 ++- docs/topics/http/urls.txt | 5 ----- 3 files changed, 2 insertions(+), 10 deletions(-) (limited to 'docs') diff --git a/docs/ref/urls.txt b/docs/ref/urls.txt index 95eb03f35a..ac55bde575 100644 --- a/docs/ref/urls.txt +++ b/docs/ref/urls.txt @@ -150,10 +150,6 @@ The ``converter`` argument is a converter class, and ``type_name`` is the converter name to use in path patterns. See :ref:`registering-custom-path-converters` for an example. -.. deprecated:: 5.1 - - Overriding existing converters is deprecated. - ================================================== ``django.conf.urls`` functions for use in URLconfs ================================================== diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index 5a58dcf599..d8db925fd1 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -271,4 +271,5 @@ to remove usage of these features. See :ref:`deprecated-features-5.1` for details on these changes, including how to remove usage of these features. -* ... +* ``django.urls.register_converter()`` no longer allows overriding existing + converters. diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index 8e57732725..d8de9635ec 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -183,11 +183,6 @@ Register custom converter classes in your URLconf using ..., ] -.. deprecated:: 5.1 - - Overriding existing converters with ``django.urls.register_converter()`` is - deprecated. - Using regular expressions ========================= -- cgit v1.3