newer versions of wtforms use html5 by default

This commit is contained in:
Simon Pirkelmann 2022-01-23 12:33:57 +01:00
parent b4f9e4525b
commit 03e7425b2a

View File

@ -1,7 +1,7 @@
from flask import Flask, render_template, request, flash, redirect, session, send_file from flask import Flask, render_template, request, flash, redirect, session, send_file
from werkzeug.utils import secure_filename from werkzeug.utils import secure_filename
from flask_wtf import FlaskForm from flask_wtf import FlaskForm
from wtforms.fields.html5 import DateField, EmailField from wtforms.fields import DateField, EmailField
from wtforms.fields import StringField, BooleanField from wtforms.fields import StringField, BooleanField
from wtforms.validators import DataRequired, ValidationError, EqualTo from wtforms.validators import DataRequired, ValidationError, EqualTo
from flask_sqlalchemy import SQLAlchemy from flask_sqlalchemy import SQLAlchemy