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:
committed by
Mariusz Felisiak
parent
f2051eb8a7
commit
2522559d1a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user