Hola,

I've written a form that has two BooleanFields on it.

They render as text boxes on the page, which is great.

All my initial testing included checking the boxes for the two
BooleanFields as this is the major use case.

I just did a test in which I didn't check the boxes, and I'm getting
"This field is required" errors.

I'm confused. I understand the whole Blank=True, null=True concepts,
but these two fields aren't within models - they are used for
decision/flow control within the saving of a model...

Finally, if it's a BooleanField, it should be able to represent on/off
- so *not* ticking the box would indicate off, wouldn't it?

What am I doing wrong here?

cheers
L.

-- 
...we look at the present day through a rear-view mirror. This is
something Marshall McLuhan said back in the Sixties, when the world
was in the grip of authentic-seeming future narratives. He said, “We
look at the present through a rear-view mirror. We march backwards
into the future.”

http://www.warrenellis.com/?p=14314

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to