updated chp10 django 1.7