def ajax_conference_contributions(): """Handler for other conference contributions""" cnum = request.args.get('cnum', '') html, total = render_conferences_contributions(cnum) return jsonify({"data": html, "total": total})
def ajax_conference_contributions(): """Handler for other conference contributions""" cnum = request.args.get('cnum', '') html, total = render_conferences_contributions(cnum) return jsonify( { "data": html, "total": total } )