From 49b9470dca446c5bee6518310a9739aa424edcd3 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Thu, 10 Sep 2009 16:17:56 +0000 Subject: [PATCH] Fixed #11071 - update is_ajax() docs. Thanks timo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11490 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/request-response.txt | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 8701c762357..9df156a6f23 100644 --- a/docs/ref/request-response.txt +++ b/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.