1
0
mirror of https://github.com/django/django.git synced 2025-01-09 09:55:57 +00:00
django/tests
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
..
modeltests Fixed #7215 -- Create correct reverse-relation accessors when using abstract base classes. Patch from Joel Watts. 2008-06-26 07:04:18 +00:00
regressiontests Fixed #5957 -- Enforce the "required" attribute on BooleanField in newforms. 2008-06-30 10:44:56 +00:00
templates
runtests.py
urls.py