Exemple #1
0
def archive_all(date_filter):
    archive = Article.archive_statistic(author="cxw")
    tags = Article.tag_statistic(author="cxw")
    published_article = Article.archive(date_filter=date_filter, author="cxw")
    return render_template("CxwBlog.html",
                           published_article=published_article,
                           archive=archive,
                           tags=tags)
Exemple #2
0
def archive_all(date_filter):
    archive = Article.archive(date_filter=date_filter, author="scc")
    return render_template("AllArticle.html", archive=archive)