Opened 17 years ago

Closed 16 years ago

#5291 closed (duplicate)

Error in newforms docu about BooleanField Validation and required

Reported by: lucasvo@… Owned by: nobody
Component: Forms Version: dev
Severity: Keywords: documentation boolean
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


The documentation about the newforms says the following, which is wrong:


  • Default widget: CheckboxInput
  • Empty value: None
  • Normalizes to: A Python True or False value.
  • Validates nothing (i.e., it never raises a ValidationError).

If you do not set required=False, it only validates if it is True.

IMO one should change it's behaviour to not validate at all. But according to, it wont.

Change History (1)

comment:1 by Philippe Raoult, 16 years ago

Resolution: duplicate
Status: newclosed

see #5104

Note: See TracTickets for help on using tickets.
Back to Top