valums/file-uploader — pull request #207 by ichernev (2011-10-28 13:18:17+00:00)
Title: Added preSubmit callbacks to form and xhr.

The user can now execute arbitrary code before the submission of the
form and ajax request. Additional form inputs can be added and/or http
headers for ajax.

I found this helpful to include a csrf token required for djago.