learning-unlimited/ESP-Website — comment on commit 9de30d136c1eff8ba179f2cfa439b3b1932db6ef
File:  line 0
By gkanwar:

Hmm, I'm not sure what this would do, since check_csrf_cookie should only be called from handle_submit in ajax_tools.js, which I assumed would only get called with a non-null form? Also for a form, only one in which form.csrfmiddlewaretoken is not null should actually have this called (although I assumed lazy processing in an if statement, is this not the case in JS?), see line 134 of ajax_tools.js for the relevant bit...