Flask and Python 3

Juan Christian juan0christian at gmail.com
Tue Sep 23 23:57:00 CEST 2014


On Tue, Sep 23, 2014 at 6:48 PM, John Gordon <gordon at panix.com> wrote:
>
> > @app.route('/')
> > def index():
> > return 'Hello World'
>
> As posted, your code is not indented.  Is this literally how your code
> looks?
>
>
The mail screwed the indentation, it's indented in the file.


> > {% block content %}{% endlbock content %}
>
> "endlbock" is certainly a typo.


Oh my Gooooodd... Yes, that's it, working 100% now. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140923/45af2384/attachment.html>


More information about the Python-list mailing list