예제 #1
0
파일: kviz.py 프로젝트: Lenart11/Kviz
def zgodovina2():
    global rezultat
    vrednost = bottle.request.query['vrednost']
    rezultat += model.stevec(vrednost)
    vrednost2 = model.pravilnost(vrednost)
    return bottle.template('zgodovina2.tpl', rezultat = rezultat, vrednost2 = vrednost2)
예제 #2
0
파일: kviz.py 프로젝트: Lenart11/Kviz
def konec():
    global rezultat
    vrednost = bottle.request.query['vrednost']
    rezultat += model.stevec(vrednost)
    vrednost2 = model.pravilnost(vrednost)
    return bottle.template('zadnja_stran.tpl', rezultat = rezultat, vrednost2 = vrednost2)