Django - change field validation message
问题 I have an email field in my Newsletter form that looks like this: class NewsletterForm(forms.ModelForm): email = forms.EmailField(widget=forms.EmailInput(attrs={ 'autocomplete': 'off', 'class': 'form-control', 'placeholder': _('seuemail@email.com'), 'required': 'required' })) class Meta: model = Newsletter fields = ['email', ] My form is working, but when I type "ahasudah@ahs" without a DOT for the domain name, I get this error "Enter a valid email address" Where is this? I just checked the