upgraded chp9 to django 1.7