Django Documentation, HttpRequest objects, Methods…
django-ajax-uploader
CSRF - AJAX
if request.is_ajax():