adapting templates and views to python brasil