So I recently ran into the csrf/upload_handlers conflict as mentioned in
the not
https://docs.djangoproject.com/en/1.8/topics/http/file-uploads/#id1
I'd like to propose an additional option to solve this -- a decorator to
mark a view as "ajax-only" ... so the CSRF middleware will _only_ check
the header for the value, and skip request.POST.
Of course, this sort of change should involve a serious consideration to
the security ramifications of such a change.
So please... weigh in, one and all :)
--
Curtis