upgraded chp7 to django 1.7