Exemplo n.º 1
0
Arquivo: home.py Projeto: BigLeg/leggy
def index():
    hottest = Video.hottest()
    newest = Video.newuploaded()
    return render_template('index.html',
                            hottestvideos = hottest,
                            newestvideos = newest)