summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_views/tests.py
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2011-02-12 23:49:18 +0000
committerLuke Plant <L.Plant.98@cantab.net>2011-02-12 23:49:18 +0000
commit840314bde48f8df47b9b6f6a32b1051b9980df30 (patch)
treeeb2c646153a6a199cdeeed58e3c5e8a68292f1c6 /tests/regressiontests/admin_views/tests.py
parent99c529eec881708a725bb0e1c99392b3f6c4547d (diff)
[1.1.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. This is backported to 1.1.X because it really belongs with security patch [15466] git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@15518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/admin_views/tests.py')
0 files changed, 0 insertions, 0 deletions