Example #1
0
 def get(self):
    """ Simply retrieves an Article entity from the database keyed by the Title
    assumption is there is a 1:1 correspondence between the page and 1 article entity
    :return:
    """
    article = Article()
    response = article.get_article_by_title("About Us")
    template_values = {"article": response}
    self.render_template("about.template", template_values)