Simple XHR form validation in Django