タグ付けされた質問 「wtforms」

3
WTForms:電子メール検証サポートのために 'email_validator'をインストールします
フォーム検証のために次のコードを実行すると例外が発生します。 File "/Users/homeduvvuri/Documents/Learning/PartyGoUdemy/PartGo/user/forms.py", line 11, in BaseUserForm email = EmailField('Email', [validators.DataRequired(), validators.Email()]) File "/Users/homeduvvuri/Documents/Learning/PartyGoUdemy/PartGo/partgo-env/lib/python3.7/site-packages/wtforms/validators.py", line 332, in __init__ raise Exception("Install 'email_validator' for email validation support.") Exception: Install 'email_validator' for email validation support. codeanywhere VMで完全に実行されます。ローカルマシンにはありません。 from flask_wtf import FlaskForm from flask_wtf.file import FileField, FileAllowed from wtforms import Form, StringField, PasswordField, validators, …
15 python  flask  wtforms 
弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.