Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #11071 - update is_ajax() docs.

 
Thanks timo.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@11490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 49b9470dca446c5bee6518310a9739aa424edcd3 1 parent 18a67e1
@spookylukey spookylukey authored
Showing with 1 addition and 10 deletions.
  1. +1 −10 docs/ref/request-response.txt
View
11 docs/ref/request-response.txt
@@ -232,16 +232,7 @@ Methods
Returns ``True`` if the request was made via an ``XMLHttpRequest``, by
checking the ``HTTP_X_REQUESTED_WITH`` header for the string
- ``'XMLHttpRequest'``. The following major JavaScript libraries all send this
- header:
-
- * jQuery
- * Dojo
- * MochiKit
- * MooTools
- * Prototype
- * YUI
-
+ ``'XMLHttpRequest'``. Most modern JavaScript libraries send this header.
If you write your own XMLHttpRequest call (on the browser side), you'll
have to set this header manually if you want ``is_ajax()`` to work.
Please sign in to comment.
Something went wrong with that request. Please try again.