django1/tests/regressiontests/forms
Luke Plant 55c71d3ed5 [1.1.X] Fixed #11940 - ModelForm evaluates callable default values on form class creation
Thanks to Harm Geerts for the report and initial patch.

Backport of [12721] from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08 15:13:08 +00:00
..
localflavor [1.1.X] Fixed #12017 - Overriding the default error message of the UKPostcodeField works again. Backport of r12044 and r12249. 2010-01-17 22:51:25 +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 [1.1.X] Added force_unicode to a test (needed for Python 2.3 compatibility). 2010-02-26 16:40:37 +00:00
extra.py Fixed #9124: fixed `SelectDateWidget` with `required=False`. Thanks, Bernd Schlapsi. 2009-04-18 17:35:53 +00:00
fields.py [1.1.X] Fixed #7777 -- Added validation handling for NaN, Inf and -Inf in DecimalFields. Thanks to thebitguru for the patch. 2010-02-22 15:02:45 +00:00
forms.py [1.1.X] Fixed #9336. Changed CheckboxInput to render 'True' and 'False' input strings as checked or not instead of as a value attribute. Backport of r12556 from trunk. 2010-02-23 23:48:44 +00:00
formsets.py [1.1.x] Fixed #12878. Formset-wide errors are now rendered properly as html. Backport of r12548 from trunk. 2010-02-23 21:09:27 +00:00
media.py [1.1.X] Expanded the fix in [12663] to cover CSS declarations, which were also affected by the bug. Refs #12879. Backport of [12665] from trunk. 2010-03-03 08:19:23 +00:00
models.py [1.1.X] Fixed #11940 - ModelForm evaluates callable default values on form class creation 2010-03-08 15:13:08 +00:00
regressions.py [1.1.X] Added an explicit test showing that field errors are correctly autoescaped. 2009-11-20 15:04:16 +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 [1.1.X] Fixed #12858. DateTime related widgets now handle custom formats properly in _has_changed. Backport of r12698 from trunk. 2010-03-07 04:06:23 +00:00