|
|
|
@ -156,6 +156,14 @@ def search_users():
|
|
|
|
|
r.close()
|
|
|
|
|
return str(result)
|
|
|
|
|
|
|
|
|
|
@app.route('/getkukcandidate')
|
|
|
|
|
def get_kuk_candidate():
|
|
|
|
|
date = datetime.datetime.strptime(request.args.get('date'), '%Y-%m-%d %H:%M')
|
|
|
|
|
meal_eaters = request.args.get('eaters').split(',')
|
|
|
|
|
|
|
|
|
|
# TODO: Implement
|
|
|
|
|
return 'davide'
|
|
|
|
|
|
|
|
|
|
@app.route('/login', methods=['GET', 'POST'])
|
|
|
|
|
def login():
|
|
|
|
|
if request.method == 'POST':
|
|
|
|
|