@viewer.view('show_postlist_by_username')
def show_postlist_by_username(username, page=1):
    userobj = User.query.filter(User.username==username).first()
    # No result means the page doesn't exist
    if userobj is None:
        abort(404)

    p_filter = Post.user == userobj
    p_order = Post.pubdate.desc()
    posts = get_posts(p_filter, p_order)

    title = "Posts by %s" % username
    paginator = Paginator(posts, app.config['ENTRIES_PER_PAGE'], page,
                          'show_postlist_by_username', username=username)

    return viewer.render('post_list.html', posts=posts, paginator=paginator,
                         title=title)
Returns the field that stores the value of the given translation
dataset/ETHPy150Open jkossen/imposter/frontend.py/show_postlist_by_username--crossover with--dataset/ETHPy150Open zmathew/django-linguo/linguo/utils.py/get_real_field_name