template render migrates to jinja2
migrate to python27