summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts/tests.py
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2011-02-12 23:39:39 +0000
committerLuke Plant <L.Plant.98@cantab.net>2011-02-12 23:39:39 +0000
commitcfaac48710fdab7cd427b8bea130a8a8c3f8bbbc (patch)
tree7f7e811309ce307af1124f45f23f8fc47a45ad56 /tests/regressiontests/admin_scripts/tests.py
parent6a438e2d1ab9bfdb2b4ae4cff121f812dd5fd241 (diff)
[1.2.X] Fixed #15284 - improved example jQuery code for adding X-CSRF-Token
Using the ajaxSend event is better than beforeSend, because the beforeSend callback can have only one value, which makes it painful if it is needed by multiple bits of javascript. Thanks to LukeMaurer for report and initial patch. Backport of [15515] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/admin_scripts/tests.py')
0 files changed, 0 insertions, 0 deletions