ticket1:fix fixture location
ticket:1 fix pep8
ticket:1 fix test
ticket:3 fix datatime field in query stored model
ticket:3 fix database error which and in ticket:1