From abfc1005db0f256ca60823f61b8a904304eb9a4c Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Fri, 12 Apr 2013 01:32:37 +0200 Subject: In Flask/Jinja: Show / Categories --- app/views/consts.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 app/views/consts.py (limited to 'app/views/consts.py') diff --git a/app/views/consts.py b/app/views/consts.py new file mode 100644 index 0000000..6358ed1 --- /dev/null +++ b/app/views/consts.py @@ -0,0 +1,12 @@ +from flask import Blueprint +from flask import render_template, request, url_for + +mod = Blueprint('consts', __name__) + +@mod.route("/") +def all (): + return render_template("page.jinja") + +@mod.route("/") +def show(id): + return render_template("page.jinja") -- cgit v1.2.3-70-g09d2