Skip to content
Myr

docs: `HTTP` -> HTTP

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by defuz · committed by defuz · parent 2ab9144 · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:docs/tutorial/folders.rst+1 added-1 removed
11 unmodified lines
1213The `flaskr` folder is not a python package, but just something where we14drop our files. We will then put our database schema as well as main module15into this folder. It is done in the following way. The files inside16the `static` folder are available to users of the application via `HTTP`.16the `static` folder are available to users of the application via HTTP.17This is the place where css and javascript files go. Inside the18`templates` folder Flask will look for `Jinja2`_ templates. The19templates you create later in the tutorial will go in this directory.20
3 unmodified lines
modified:docs/tutorial/templates.rst+1 added-1 removed
56 unmodified lines
5758This template extends the `layout.html` template from above to display the59messages. Note that the `for` loop iterates over the messages we passed60in with the :func:`~flask.render_template` function. We also tell the61form to submit to your `add_entry` function and use `POST` as `HTTP`61form to submit to your `add_entry` function and use `POST` as HTTP62method:6364.. sourcecode:: html+jinja65
46 unmodified lines