initial web pre version

This commit is contained in:
2018-10-21 17:25:56 +02:00
parent d8d3801373
commit 830e50d6f4

18
infomentor/web.py Normal file
View File

@@ -0,0 +1,18 @@
from infomentor import models, db
from flask import Flask, render_template
from flask_bootstrap import Bootstrap
app = Flask(__name__)
Bootstrap(app)
@app.route('/')
def home():
return render_template('notfound.html')
@app.route('/addlogin/')
def extra():
return render_template('addlogin.html')
if __name__ == '__main__':
app.run(debug=True)