mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-30 11:19:57 +00:00
19 lines
406 B
Python
19 lines
406 B
Python
from flask import Flask, render_template, session, redirect, url_for, session
|
|
from flask_wtf import FlaskForm
|
|
from wtforms import (
|
|
StringField,
|
|
BooleanField,
|
|
RadioField,
|
|
SelectField,
|
|
TextAreaField,
|
|
SubmitField,
|
|
)
|
|
from wtforms.validators import DataRequired
|
|
|
|
app = Flask(__name__)
|
|
|
|
app.config["SECRET_KEY"] = "mijngeheimesleutel"
|
|
|
|
if __name__ == "__main__":
|
|
app.run(debug=True)
|