Refs #31534 -- Removed django.conf.urls.url() per deprecation timeline.

This commit is contained in:
Mariusz Felisiak 2021-01-14 09:06:39 +01:00
parent be6e468130
commit 98ae3925e5
4 changed files with 4 additions and 38 deletions

View file

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