forked from orbit-oss/flask
Fix typo in docs/views.rst
This commit is contained in:
parent
49cbb77528
commit
c224832acc
1 changed files with 2 additions and 2 deletions
|
|
@ -113,8 +113,8 @@ Method Based Dispatching
|
|||
|
||||
For RESTful APIs it's especially helpful to execute a different function
|
||||
for each HTTP method. With the :class:`flask.views.MethodView` you can
|
||||
easily do that. Each HTTP method maps to a function with the same name
|
||||
(just in lowercase)::
|
||||
easily do that. Each HTTP method maps to a method of the class with the
|
||||
same name (just in lowercase)::
|
||||
|
||||
from flask.views import MethodView
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue