Fixed typo in docs/releases/3.1.txt.

This commit is contained in:
Adam Johnson 2020-02-04 12:03:13 +01:00 committed by Mariusz Felisiak
parent dd9cd7923e
commit 85cb59cba9
1 changed files with 2 additions and 2 deletions

View File

@ -475,8 +475,8 @@ Miscellaneous
``django-admin``. ``django-admin``.
* 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 current usage tends to
to use the JavaScript `Fetch API use the JavaScript `Fetch API
<https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API>`_. Depending on <https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API>`_. Depending on
your use case, you can either write your own AJAX detection method, or use your use case, you can either write your own AJAX detection method, or use
the new :meth:`.HttpRequest.accepts` method if your code depends on the the new :meth:`.HttpRequest.accepts` method if your code depends on the