Akron | ca9bd98 | 2016-12-06 16:59:57 +0100 | [diff] [blame^] | 1 | from flask import Blueprint, render_template |
2 | |||||
3 | __author__ = 'hanl' | ||||
4 | |||||
5 | router = Blueprint('admin', __name__, | ||||
6 | template_folder='templates') | ||||
7 | |||||
8 | @router.route("/", methods=['GET']) | ||||
9 | def index(): | ||||
10 | return render_template("index.html") |