1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #31534 -- Deprecated django.conf.urls.url().

This commit is contained in:
David Smith
2020-05-04 19:33:35 +01:00
committed by Mariusz Felisiak
parent f2051eb8a7
commit 2522559d1a
10 changed files with 39 additions and 11 deletions

View File

@@ -1289,7 +1289,7 @@ to:
This change also means that the old way of including an ``AdminSite`` instance
is deprecated. Instead, pass ``admin.site.urls`` directly to
:func:`~django.conf.urls.url()`:
``django.conf.urls.url()``:
.. code-block:: python
:caption: urls.py