From 6c0b256572d11f7261021bd298a9ce851028b97c Mon Sep 17 00:00:00 2001 From: Joao Louceiro <89097431+joaoLouceiro@users.noreply.github.com> Date: Mon, 14 Apr 2025 08:00:50 +0100 Subject: [PATCH] Fix Email validator pip package recommendation The current documentation indicates that "pip install wtforms[email]" should be installed. Running that command returns a "no matches found: wtforms[email]" --- src/wtforms/validators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wtforms/validators.py b/src/wtforms/validators.py index 3536963bf..5b0a47377 100644 --- a/src/wtforms/validators.py +++ b/src/wtforms/validators.py @@ -365,7 +365,7 @@ def __call__(self, form, field, message=None): class Email: """ Validates an email address. Requires email_validator package to be - installed. For ex: pip install wtforms[email]. + installed: pip install email_validator. :param message: Error message to raise in case of a validation error.