Extracting useful info from django errors