Esempio n. 1
0
def page_candidate():
    my_cookie = request.cookies.get('myCookie')
    print('COOKIE FROM THE CLIENT:' + my_cookie)
    current_candidates = candidate(serialize=False)
    return render_template('candidate.html',
                           selected_menu_item="candidate",
                           candidates=current_candidates)
Esempio n. 2
0
def page_candidate():
    current_candidates = candidate(serialize=False)
    return render_template('candidate.html', selected_menu_item="candidate", candidates=current_candidates)
Esempio n. 3
0
def page_candidate():
    current_candidates = candidate(serialize=False)
    return render_template('candidate.html', selected_menu_item="candidate", candidates=current_candidates)
Esempio n. 4
0
def page_candidate():
    my_cookie = request.cookies.get('myCookie')
    print('COOKIE FROM THE CLIENT:' + my_cookie)
    current_candidates = candidate(serialize=False)
    return render_template('candidate.html', selected_menu_item="candidate", candidates=current_candidates)