@viewer.view('index')
@login_required
def index():
    posts = db_session.query(Post).filter(
        Post.user_id==session['user_id']).order_by(Post.pubdate.desc())
    pages = db_session.query(Page).filter(
        Page.user_id==session['user_id'])
    return viewer.render('index.html', posts=posts, pages=pages)
This function must be overridden in a sub-class
dataset/ETHPy150Open jkossen/imposter/admin.py/index--crossover with--dataset/ETHPy150Open saltstack/salt/salt/utils/gitfs.py/GitProvider.get_tree