예제 #1
0
def me_detail():
    data = current_user.to_dict()
    return jsonify(data)
예제 #2
0
파일: views.py 프로젝트: joehand/handAPI
def index():
    return jsonify(user=current_user.to_dict())
예제 #3
0
파일: views.py 프로젝트: joehand/handAPI
def clear():
    current_user.services = None
    current_user.save()
    return jsonify(user=current_user.to_dict())
예제 #4
0
파일: api.py 프로젝트: PowerDNS/pdnscontrol
def me_detail():
    data = current_user.to_dict()
    return jsonify(data)