Refs #30997 -- Added link to Fetch API in release notes.

This commit is contained in:
Nick Pope 2020-01-27 13:21:52 +00:00 committed by Mariusz Felisiak
parent 7edd06a9cf
commit c9bf1910e2
1 changed files with 5 additions and 4 deletions

View File

@ -473,10 +473,11 @@ Miscellaneous
* The ``HttpRequest.is_ajax()`` method is deprecated as it relied on a * The ``HttpRequest.is_ajax()`` method is deprecated as it relied on a
jQuery-specific way of signifying AJAX calls, while the current usage tends jQuery-specific way of signifying AJAX calls, while the current usage tends
to use the ``fetch()`` JavaScript API. Depending on your use case, you can to use the JavaScript `Fetch API
either write your own AJAX detection method, or use the new <https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API>`_. Depending on
:meth:`.HttpRequest.accepts` method if your code depends on the client your use case, you can either write your own AJAX detection method, or use
``Accept`` HTTP header. the new :meth:`.HttpRequest.accepts` method if your code depends on the
client ``Accept`` HTTP header.
.. _removed-features-3.1: .. _removed-features-3.1: