1
0
mirror of https://github.com/django/django.git synced 2024-12-25 18:46:22 +00:00
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
error_messages.py
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