を表示する際に、テンプレートが機能していない私はGoogle App Engineの:私のPythonコードでHTMLフォーム
the_button = '''<form action="/edit" method="get" >
<input type="submit" name="edit" value="Edit" />
</form>'''
template_values = { 'the_button':the_button }
path = os.path.join(os.path.dirname(__file__), 'the.html')
self.response.out.write(template.render(path, template_values))
を持っている問題は、ときに私、私は、ページに表示する際には、ボタンが、非クリッカブルが表示されるということですhtmlのページソースを表示すると、コードは表示されません。
何が問題なのですか?
ありがとうございます!
で
あなた 'the.html'テンプレートには何ですか? –
テンプレート{{the_button}} – Peter