author | ymh <ymh.work@gmail.com> |
Wed, 08 Oct 2014 15:14:58 +0200 | |
changeset 0 | e1d4d7a8255a |
child 8 | e72d0e847d5d |
permissions | -rw-r--r-- |
0 | 1 |
|
2 |
# |
|
3 |
# See LICENCE for detail |
|
4 |
# Copyright (c) 2014 IRI |
|
5 |
# |
|
6 |
||
7 |
import uuid |
|
8 |
||
9 |
from flask import Flask, render_template |
|
10 |
||
11 |
app = Flask(__name__) |
|
12 |
app.secret_key = str(uuid.uuid4()) |
|
13 |
||
14 |
@app.route('/') |
|
15 |
def page_home(): |
|
16 |
return render_template('index.html') |
|
17 |
||
18 |
||
19 |
@app.route('/annot') |
|
20 |
def page_annot(): |
|
21 |
return render_template('annot.html') |