[Tutor] Unexpected result when running flask application.

Alan Gauld alan.gauld at yahoo.co.uk
Wed Jun 19 04:54:46 EDT 2019


On 19/06/2019 05:18, Cravan wrote:
> Hi all,
> 
>                 I am experiencing an unexpected result when I try to run my flask application. 
> The movie.html page prints out nothing except those in the <h1>. This appears on my webpage:

Note that the mail server does not allow (for security reasons)
binary attachments so we lost your image.

However, your html files are not in HTML.
I'm not a Flask expert but every time I've used Flask the
html pages have been real HTML. Yours appear to be in some
strange pseudo markup language.

If this is something unique to Flask then I suspect you will
need to ask on a Flask support page or list. It doesn't seem
to be a Python language related issue at this point.

And your layout.html template is virtually empty.
I think you need to write some valid HTML somewhere.


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list