#5081 closed (wontfix)
Defaults newforms' BooleanField to required=False
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Forms | Version: | dev |
Severity: | Keywords: | booleanfield required | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Defaults newforms' BooleanField to required=False so you don't get validation errors when the checkbox is unchecked.
Attachments (2)
Change History (5)
by , 17 years ago
Attachment: | patch.diff added |
---|
comment:1 by , 17 years ago
Why would this be good? All other fields default to required=True. This would be a backwards incompatible change for no gains.
comment:2 by , 17 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Closing this as a wontfix because there's no good reason to make this change.
Note:
See TracTickets
for help on using tickets.
django/newforms/fields.py