the sample -'gallery' of the book -<python web development with django> ,it is modified on django 1.7