I might be misunderstanding  the documentation about BooleanField.
http://www.djangoproject.com/documentation/newforms/#booleanfield

but it seems if i have :

>>> class Foo(forms.Form):
    bool = forms.BooleanField(required=True)
>>> f=Foo({})
>>> f.is_valid()
True
>>>f.cleaned_data
{'b': False}

Doesn't that conflict with what the docs say?

Shouldn't the form give errors and not validate?

This is with lastest svn.

Thanks!

--
Milan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to