summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2011-02-12 23:37:35 +0000
committerLuke Plant <L.Plant.98@cantab.net>2011-02-12 23:37:35 +0000
commitd068a0424426293a63c99200e9dd0add1edcb27a (patch)
tree67ab00cc46cc94c18a88089778c7c79b6595cc49 /tests/regressiontests/admin_scripts
parentee060202409c5700fc2237ce5dab1c0a0486b1d3 (diff)
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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/admin_scripts')
0 files changed, 0 insertions, 0 deletions