@property<EOL><INDENT>def jinja_env(self):<DEDENT>
if self._jinja_env is None:<EOL><INDENT>self._jinja_env = SandboxedEnvironment(<EOL>extensions=[<EOL>'<STR_LIT>', '<STR_LIT>', ],<EOL>autoescape=True,<EOL>)<EOL>self._jinja_env.globals['<STR_LIT>'] = url_for<EOL>for var in self.app.config['<STR_LIT>']:<EOL><INDENT>self._jinja_env.globals[var] = self.app.config.get(var)<EOL><DEDENT><DEDENT>return self._jinja_env<EOL>
Create a sandboxed Jinja environment.