add views in python