@viewer.view('show_postlist_by_tag_index')
@viewer.view('show_postlist_by_tag')
def show_postlist_by_tag(tag, page=1):
    tagobj = Tag.query.filter(Tag.value==tag).first()
    # No result means the page doesn't exist
    if tagobj is None:
        abort(404)

    p_filter = Post.tags.contains(tagobj)
    p_order = Post.pubdate.desc()
    posts = get_posts(p_filter, p_order)

    title = "Posts tagged \"%s\"" % tag
    paginator = Paginator(posts, app.config['ENTRIES_PER_PAGE'], page,
                          'show_postlist_by_tag', tag=tag)

    return viewer.render('post_list.html', posts=posts, paginator=paginator,
                         title=title)
Returns a list of directories where the datastore code is
dataset/ETHPy150Open jkossen/imposter/frontend.py/show_postlist_by_tag--crossover with--dataset/ETHPy150Open AppScale/appscale/AppDB/appscale_datastore_batch.py/DatastoreFactory.valid_datastores