擅长:python、mysql、java
<p>你需要在模板中输入你想要使用的变量。</p>
<pre><code>>>> from flask import render_template
>>> help(render_template)
render_template(template_name, **context)
Renders a template from the template folder with the given
context.
:param template_name: the name of the template to be rendered
:param context: the variables that should be available in the
context of the template.
</code></pre>
<p>so<code>return render_template("edit_creatives.html",title = 'Edit Creative', creative_handler = creative_handler)</code></p>