Django handler updated