code of classic,using django 1.6 and python 2.7.3