one more try

This commit is contained in:
2019-08-19 23:04:01 -05:00
parent f9bb7329a3
commit f08c07c2a8
2 changed files with 6 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
from flask_wtf import FlaskForm
from wtforms import StringField, PassworkField, BooleanField, SubmitField
from wtforms import StringField, PasswordField, BooleanField, SubmitField
from wtforms.validators import DataRequired
class LoginForm(FlaskForm):

View File

@@ -20,6 +20,11 @@ def index():
]
return render_template('index.html', title='Home', user=user, posts=posts)
@app.route('/login')
def login():
form = LoginForm()
return render_template('login.html', title='Sign In', form=form)
@app.route('/status')
def getstatus():
device = {'name': 'find how to get name later'}