From 2522559d1a612a4e8885de4780ff2b7aa7b8d375 Mon Sep 17 00:00:00 2001 From: David Smith Date: Mon, 4 May 2020 19:33:35 +0100 Subject: Fixed #31534 -- Deprecated django.conf.urls.url(). --- docs/ref/urls.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/urls.txt b/docs/ref/urls.txt index 1527a34720..ce14817c22 100644 --- a/docs/ref/urls.txt +++ b/docs/ref/urls.txt @@ -141,8 +141,11 @@ Helper function to return a URL pattern for serving files in debug mode:: .. function:: url(regex, view, kwargs=None, name=None) -This function is an alias to :func:`django.urls.re_path()`. It's likely to be -deprecated in a future release. +This function is an alias to :func:`django.urls.re_path()`. + +.. deprecated:: 3.1 + + Alias of :func:`django.urls.re_path` for backwards compatibility. ``handler400`` ============== -- cgit v1.3