I have ajax call:
$.ajax({
type: "POST",
url: "../getFormMetaData/",
cache:false,
data: $data,
success: createZoomDialog,
error:function(response){
}
});
how can I send data to ajax error handler from python django?