From 26a6248a6183458bfa545018b0a85bcc06c66deb Mon Sep 17 00:00:00 2001 From: Vivek Santayana Date: Thu, 11 Aug 2022 11:39:53 +0100 Subject: [PATCH] Tidied up nnecessary imports --- ref-test/app/forms/admin.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ref-test/app/forms/admin.py b/ref-test/app/forms/admin.py index ff85b8e..48cce2f 100644 --- a/ref-test/app/forms/admin.py +++ b/ref-test/app/forms/admin.py @@ -6,8 +6,6 @@ from wtforms import BooleanField, IntegerField, PasswordField, SelectField, Stri from wtforms.fields import DateTimeLocalField from wtforms.validators import InputRequired, Email, EqualTo, Length, Optional -from datetime import date, datetime, timedelta - class Login(FlaskForm): username = StringField('Username', validators=[InputRequired(), Length(min=4, max=15)]) password = PasswordField('Password', validators=[InputRequired(), Length(min=6, max=30, message='The password must be between 6 and 20 characters long.')])