Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!gordon From: John Gordon Newsgroups: comp.lang.python Subject: Re: Flask and Python 3 Date: Tue, 23 Sep 2014 21:48:56 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 24 Message-ID: References: NNTP-Posting-Host: panix2.panix.com X-Trace: reader1.panix.com 1411508936 6289 166.84.1.2 (23 Sep 2014 21:48:56 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Tue, 23 Sep 2014 21:48:56 +0000 (UTC) User-Agent: nn/6.7.3 Xref: csiph.com comp.lang.python:78251 In Juan Christian writes: > @app.route('/') > def index(): > return 'Hello World' As posted, your code is not indented. Is this literally how your code looks? > {% block content %}{% endlbock content %} "endlbock" is certainly a typo. > I typed everything correct,acessing http://localhost:8000 works, but > http://localhost:8000/blog/post/ gives me ' 500 Internal Server Error '. > Why? Have you looked in the http server error log for an explanatory error message? -- John Gordon Imagine what it must be like for a real medical doctor to gordon@panix.com watch 'House', or a real serial killer to watch 'Dexter'.