django/tests/regressiontests/forms
Russell Keith-Magee f6cca736a0 Fixed #9609 -- Modified the clean method of(Null)Boolean field to accept '1' and '0' as valid inputs. Thanks to psagers for the patch.
This is required to support the use of non-default form widgets such as RadioSelect when the data comes from MySQL, which uses 1/0 to represent booleans.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-02 14:52:34 +00:00
..
localflavor Fixed #8515 -- Fixed validation of Polish REGON numbers. 2009-04-10 01:03:44 +00:00
__init__.py Split django.newforms into forms, fields, widgets, util. Also moved unit tests from docstrings to a standalone module in tests/regressiontests/forms, to save docstring memory overhead, keep code readable and fit our exisitng convention 2006-10-28 20:34:37 +00:00
error_messages.py Fixed #7741: django.newforms is now django.forms. This is obviously a backwards-incompatible change. There's a warning upon import of django.newforms itself, but deeper imports will raise errors. 2008-07-19 01:22:26 +00:00
extra.py Fixed #9124: fixed `SelectDateWidget` with `required=False`. Thanks, Bernd Schlapsi. 2009-04-18 17:35:53 +00:00
fields.py Fixed #9609 -- Modified the clean method of(Null)Boolean field to accept '1' and '0' as valid inputs. Thanks to psagers for the patch. 2009-05-02 14:52:34 +00:00
forms.py Fixed #10349 -- Modified ManyToManyFields to allow initial form values to be callables. Thanks to fas for the report and patch. 2009-05-02 07:03:33 +00:00
formsets.py Fixed #10082 -- Modified BaseFormSet so that ordering checks work when the formset is empty. Thanks to Petr Marhoun for the report and test case, and bmathieu for the fix. 2009-04-28 14:17:18 +00:00
media.py Fixed #10774: accessing form media types in templates (i.e. ``{{ form.media.js }}``) now works. Thanks, tarequeh and Alex Gaynor. 2009-04-10 17:07:25 +00:00
models.py Fixed #10363 -- Modified ModelForm handling to ensure that excluded fields can't be saved onto the model. Thanks to jgoldberg for the report, an Alex Gaynor for the fix. 2009-04-16 14:26:08 +00:00
regressions.py Fixed #9125 -- When displaying errors for a form with only hidden fields, make sure the resulting XHTML is correct. 2008-09-18 07:16:08 +00:00
tests.py Fixed #9066 -- Added Czech localflavor. Thanks to Elvard for the contribution. 2009-02-22 07:51:57 +00:00
util.py Fixed #6160, #9111 -- Consistently apply conditional_escape to form errors and labels when outputing them as HTML. 2008-11-06 19:49:24 +00:00
widgets.py Fixed #10288 -- Corrected _has_changed handling of DateTimeInput, DateInput, TimeInput, and SplitDateTimeWidget when a custom date/time format is in use. Thanks to Koen Biermans for the report and patch. 2009-04-28 13:19:30 +00:00