Esempio n. 1
0
def history():
    '''show all history entries'''
    # get entries
    rows = get_entrylist('history')

    return render_template( 'history.html',
                            title = 'Page history',
                            history = rows )
Esempio n. 2
0
def latest():
    '''show all latest entries'''
    # get entries
    rows = get_entrylist('latest')

    return render_template( 'latest.html',
                            title = 'Latest',
                            latest = rows )