Fixed typo in docs/releases/3.1.txt.
This commit is contained in:
parent
dd9cd7923e
commit
85cb59cba9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue