Browse Source

Merge pull request #1269 from pkuphy/patch-2

Update api.rst
pull/1273/head
Markus Unterwaditzer 10 years ago
parent
commit
3bf9c2e097
  1. 2
      docs/api.rst

2
docs/api.rst

@ -727,7 +727,7 @@ some defaults to :meth:`~flask.Flask.add_url_rule` or general behavior:
cannot be customized from the function itself.
- `methods`: If methods are not provided when the URL rule is added,
Flask will look on the view function object itself is an `methods`
Flask will look on the view function object itself if a `methods`
attribute exists. If it does, it will pull the information for the
methods from there.

Loading…
Cancel
Save