blob: 5101b6960376cbc7f6a9a819aad97d2ccf2166df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
from flask import Flask, render_template, request, session
app = Flask(__name__)
app.config["SESSION_PERMANENT"] = False
app.config["SESSION_TYPE"] = "filesystem"
Session(app)
@app.route("/")
def index():
return render_template("index.html")
@app.route("/login")
def login():
retur render_template("login.html")
|