Exemplo n.º 1
0
def discontinued():
    context = {"documents": Document.load_all(DocumentStatus.discontinued)}
    context.update(Document.manifest()["discontinued"])
    return render_template("projects.html", **context)
Exemplo n.º 2
0
def current():
    context = {"documents": Document.load_all(DocumentStatus.current)}
    context.update(Document.manifest()["current"])
    return render_template("projects.html", **context)