forked from orbit-oss/flask
Merge pull request #700 from SpOOnman/master
Add import to jsonify example
This commit is contained in:
commit
84958e5729
1 changed files with 2 additions and 0 deletions
|
|
@ -141,6 +141,8 @@ def jsonify(*args, **kwargs):
|
|||
to this function are the same as to the :class:`dict` constructor.
|
||||
|
||||
Example usage::
|
||||
|
||||
from flask import jsonify
|
||||
|
||||
@app.route('/_get_current_user')
|
||||
def get_current_user():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue