mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #31534 -- Removed django.conf.urls.url() per deprecation timeline.
This commit is contained in:
parent
be6e468130
commit
98ae3925e5
4 changed files with 4 additions and 38 deletions
|
@ -136,17 +136,6 @@ Helper function to return a URL pattern for serving files in debug mode::
|
|||
# ... the rest of your URLconf goes here ...
|
||||
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
||||
``url()``
|
||||
=========
|
||||
|
||||
.. function:: url(regex, view, kwargs=None, name=None)
|
||||
|
||||
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``
|
||||
==============
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue