rebuild ttv using python django