small fix in template for jinja2 support (same template for django and jinja2 works good)