예제 #1
0
def view(id):
    res = RequestsApi.get_one_api(id)
    return render_template('view.html', vote=res)
예제 #2
0
def view(id):
    if session_validate() == False:
        return redirect(url_for('login'))
    res = RequestsApi.get_one_api(id)
    print(res)
    return render_template('view.html', vote=res)
예제 #3
0
def view(id):
    res = RequestsApi.get_one_api(id)
    print(res)
    return render_template('view.html', propierty=res)