TemplateError
Chris Angelico
rosuav at gmail.com
Mon Nov 21 01:44:38 EST 2016
On Mon, Nov 21, 2016 at 5:22 PM, <iivri.andre at gmail.com> wrote:
> TemplateNotFound: index.html
>
> return render_template('index.html', author=author, name=name)
The render_template function looks for a directory called "templates"
and a file in that of the given name. So you'll need to have
"templates/index.html" available. Possibly you have index.html in the
wrong place?
ChrisA
More information about the Python-list
mailing list