forked from orbit-oss/flask
docs: HTTP -> HTTP
This commit is contained in:
parent
2ab91446f6
commit
6dbb015b43
2 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ application::
|
||||||
The `flaskr` folder is not a python package, but just something where we
|
The `flaskr` folder is not a python package, but just something where we
|
||||||
drop our files. We will then put our database schema as well as main module
|
drop our files. We will then put our database schema as well as main module
|
||||||
into this folder. It is done in the following way. The files inside
|
into this folder. It is done in the following way. The files inside
|
||||||
the `static` folder are available to users of the application via `HTTP`.
|
the `static` folder are available to users of the application via HTTP.
|
||||||
This is the place where css and javascript files go. Inside the
|
This is the place where css and javascript files go. Inside the
|
||||||
`templates` folder Flask will look for `Jinja2`_ templates. The
|
`templates` folder Flask will look for `Jinja2`_ templates. The
|
||||||
templates you create later in the tutorial will go in this directory.
|
templates you create later in the tutorial will go in this directory.
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ show_entries.html
|
||||||
This template extends the `layout.html` template from above to display the
|
This template extends the `layout.html` template from above to display the
|
||||||
messages. Note that the `for` loop iterates over the messages we passed
|
messages. Note that the `for` loop iterates over the messages we passed
|
||||||
in with the :func:`~flask.render_template` function. We also tell the
|
in with the :func:`~flask.render_template` function. We also tell the
|
||||||
form to submit to your `add_entry` function and use `POST` as `HTTP`
|
form to submit to your `add_entry` function and use `POST` as HTTP
|
||||||
method:
|
method:
|
||||||
|
|
||||||
.. sourcecode:: html+jinja
|
.. sourcecode:: html+jinja
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue