forked from orbit-oss/flask
Add import to jsonify example.
This commit is contained in:
parent
4366bb392a
commit
78ae0ec7f8
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