forked from orbit-oss/flask
docs: http method names like `GET and POST`
This commit is contained in:
parent
8284217593
commit
3fa4fd0908
11 changed files with 44 additions and 44 deletions
|
|
@ -58,7 +58,7 @@ show_entries.html
|
|||
This template extends the `layout.html` template from above to display the
|
||||
messages. Note that the `for` loop iterates over the messages we passed
|
||||
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:
|
||||
|
||||
.. sourcecode:: html+jinja
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ Add New Entry
|
|||
-------------
|
||||
|
||||
This view lets the user add new entries if they are logged in. This only
|
||||
responds to `POST` requests, the actual form is shown on the
|
||||
responds to ``POST`` requests, the actual form is shown on the
|
||||
`show_entries` page. If everything worked out well we will
|
||||
:func:`~flask.flash` an information message to the next request and
|
||||
redirect back to the `show_entries` page::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue