change according to python django tutorial