class ContactForm(forms.Form):
subject = forms.CharField()
email = forms.EmailField(required = False)
message = forms.CharField()
python shell:
>>> f = ContactForm({'subject': 'Hello'})
>>> f.is_valid()
>>> True
It’s not what I expected.
This is not answer but I don’t see such behavior. In my case form is not valid.
This is from django shell,