def ajax_user_index(): uid = request.args.get('uid', '') date = request.args.get('date', '') uid = str(uid) date = str(date).replace('/', '') results = search_user_index(date, uid) return json.dumps(results)
def ajax_user_index(): uid = request.args.get("uid", "") date = request.args.get("date", "") uid = str(uid) date = str(date).replace("/", "") results = search_user_index(date, uid) return json.dumps(results)