Browse Source

Add import to jsonify example.

pull/700/head
Tomasz Kalkosiński 12 years ago
parent
commit
78ae0ec7f8
  1. 2
      flask/json.py

2
flask/json.py

@ -142,6 +142,8 @@ def jsonify(*args, **kwargs):
Example usage::
from flask import jsonify
@app.route('/_get_current_user')
def get_current_user():
return jsonify(username=g.user.username,

Loading…
Cancel
Save