diff options
Diffstat (limited to 'app/views/consts.py')
-rw-r--r-- | app/views/consts.py | 12 |
1 files changed, 12 insertions, 0 deletions
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("/<int:id>") +def show(id): + return render_template("page.jinja") |