Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78251
| 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 <gordon@panix.com> |
| 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 | <lvsps8$64h$1@reader1.panix.com> (permalink) |
| References | <mailman.14288.1411507982.18130.python-list@python.org> |
| 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 |
Show key headers only | View raw
In <mailman.14288.1411507982.18130.python-list@python.org> Juan Christian <juan0christian@gmail.com> 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'.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Flask and Python 3 Juan Christian <juan0christian@gmail.com> - 2014-09-23 18:32 -0300
Re: Flask and Python 3 John Gordon <gordon@panix.com> - 2014-09-23 21:48 +0000
Re: Flask and Python 3 Juan Christian <juan0christian@gmail.com> - 2014-09-23 18:57 -0300
Re: Flask and Python 3 Terry Reedy <tjreedy@udel.edu> - 2014-09-23 19:46 -0400
Re: Flask and Python 3 Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2014-09-24 00:33 +0000
Re: Flask and Python 3 Juan Christian <juan0christian@gmail.com> - 2014-09-23 22:23 -0300
Re: Flask and Python 3 Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-09-24 16:09 +0200
Re: Flask and Python 3 Juan Christian <juan0christian@gmail.com> - 2014-09-24 16:39 -0300
Re: Flask and Python 3 Chris Angelico <rosuav@gmail.com> - 2014-09-25 11:46 +1000
Re: Flask and Python 3 Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-09-25 19:28 +0200
Re: Flask and Python 3 Juan Christian <juan0christian@gmail.com> - 2014-09-25 15:18 -0300
Re: Flask and Python 3 Chris Angelico <rosuav@gmail.com> - 2014-09-26 04:23 +1000
Re: Flask and Python 3 Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-09-25 20:26 +0200
Re: Flask and Python 3 Juan Christian <juan0christian@gmail.com> - 2014-09-25 15:35 -0300
Re: Flask and Python 3 Chris Angelico <rosuav@gmail.com> - 2014-09-26 03:46 +1000
Re: Flask and Python 3 Chris Angelico <rosuav@gmail.com> - 2014-09-26 09:55 +1000
Re: Flask and Python 3 Ned Batchelder <ned@nedbatchelder.com> - 2014-09-26 07:41 -0400
Re: Flask and Python 3 Terry Reedy <tjreedy@udel.edu> - 2014-09-26 14:20 -0400
csiph-web