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
|
|
@ -61,8 +61,8 @@ the code as necessary.
|
|||
Things to remember:
|
||||
|
||||
1. create the form from the request :attr:`~flask.request.form` value if
|
||||
the data is submitted via the HTTP `POST` method and
|
||||
:attr:`~flask.request.args` if the data is submitted as `GET`.
|
||||
the data is submitted via the HTTP ``POST`` method and
|
||||
:attr:`~flask.request.args` if the data is submitted as ``GET``.
|
||||
2. to validate the data, call the :func:`~wtforms.form.Form.validate`
|
||||
method which will return ``True`` if the data validates, ``False``
|
||||
otherwise.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue