def delete_post(blog_id): blog = BlogEntry.get_by_id(int(blog_id), parent=utils.get_parent_key()) return render_template('single.html', blog=blog)
def single_page(blog_id, slug=None): blog = BlogEntry.get_by_id(int(blog_id), parent=utils.get_parent_key()) return render_template('single.html', blog=blog)