Browse Source

docs: `HTTP` -> HTTP

pull/1240/head
defuz 10 years ago
parent
commit
6dbb015b43
  1. 2
      docs/tutorial/folders.rst
  2. 2
      docs/tutorial/templates.rst

2
docs/tutorial/folders.rst

@ -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.

2
docs/tutorial/templates.rst

@ -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…
Cancel
Save