def show():
    post = Post()
    post.show(request.args(0))
    return post.render("mytheme/showpost")
def new():
    post = Post('create_new')
    return post.render("mytheme/newpost")
def edit():
    post = Post()
    post.edit_post(request.args(0))
    return post.render("mytheme/editpost")
def index():
    post = Post('list_all')
    return post.render("mytheme/listposts")