Author: brosner
Date: 2011-07-14 11:36:05 -0700 (Thu, 14 Jul 2011)
New Revision: 16543
Modified:
django/trunk/docs/ref/contrib/csrf.txt
Log:
Added a note about the AJAX CSRF example not working on jQuery 1.5
Modified: django/trunk/docs/ref/contrib/csrf.txt
===================================================================
--- django/trunk/docs/ref/contrib/csrf.txt 2011-07-14 13:47:10 UTC (rev
16542)
+++ django/trunk/docs/ref/contrib/csrf.txt 2011-07-14 18:36:05 UTC (rev
16543)
@@ -128,6 +128,11 @@
}
});
+.. note::
+
+ Due to a bug introduced in jQuery 1.5, the example above will not work
+ correctly on that version. Make sure you are running at least jQuery 1.5.1.
+
Adding this to a javascript file that is included on your site will ensure that
AJAX POST requests that are made via jQuery will not be caught by the CSRF
protection.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.