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

Refs #35090 -- Removed support for django.urls.register_converter() overriding existing converters per deprecation timeline.

This commit is contained in:
Sarah Boyce
2024-12-12 17:11:22 +01:00
parent 1e331911a8
commit 9cb1ffa67b
5 changed files with 10 additions and 50 deletions

View File

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

View File

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

View File

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