django1/django/newforms
Malcolm Tredinnick abcf1cb36d Fixed #5957 -- Enforce the "required" attribute on BooleanField in newforms.
This has been the documented behaviour for ages, but it wasn't correctly
implemented. A required BooleanField must be True/checked, since False values
aren't submitted. Ideal for things like "terms of service" agreements.

Backwards incompatible (since required=True is the default for all fields).

Unclear who the original patch was from, but Tai Lee and Alex have kept it up
to date recently.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 10:44:56 +00:00
..
extras Fixed #5917 -- More error robustness in date parsing in SelectDateWidget, plus 2008-03-20 07:44:46 +00:00
__init__.py newforms: Added BaseForm to django.newforms namespace 2006-12-17 05:11:48 +00:00
fields.py Fixed #5957 -- Enforce the "required" attribute on BooleanField in newforms. 2008-06-30 10:44:56 +00:00
forms.py Fixed #5811 -- Added an explicit conversion to unicode that was otherwise causing problems in some cases. Thanks, Mike Maravillo. 2008-02-29 19:05:52 +00:00
models.py Fixed #7475: fixed a possible race condition in ModelChoiceIterator. Thanks, esaj. 2008-06-19 21:15:33 +00:00
util.py Implemented auto-escaping of variable output in templates. Fully controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359 2007-11-14 12:58:53 +00:00
widgets.py Fixed #4860: added 'for' attributes to labels in newforms widgets. Thanks to Ivan Sagalaev and batiste@dosimple.ch for the patches. 2008-06-18 16:33:04 +00:00