newer versions of wtforms use html5 by default
This commit is contained in:
parent
b4f9e4525b
commit
03e7425b2a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user