Opened 18 years ago
Closed 18 years ago
#3038 closed defect (fixed)
[patch] newforms: RegexField shouldn't validate an empty input if required is set to False
Description ¶
RegexField shouldn't validate an empty input if the required attribute is set to False
I'm getting an error (Enter a valid e-mail address) when entering nothing into this email field:
email = forms.EmailField(required=False)
Change History (3)
by , 18 years ago
Attachment: | forms.patch added |
---|
comment:1 by , 18 years ago
Component: | Core framework → django.newforms |
---|
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
proposed patch