django/tests/regressiontests/forms
Brian Rosner bd12310427 Converted regressiontests/forms/fields.py to unittests
This makes merging in the soc2009/model-validation simpler and rids us a
little bit more of awful doctests. Thanks Honza!

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-13 22:00:26 +00:00
..
localflavor Fixed #12146: Corrected Canadian postal code validation. Thanks paulschreiber and Mark Lavin. 2009-12-13 17:01:22 +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 #10968 - Form.errors should use Form.error_class. 2009-09-11 10:47:40 +00:00
extra.py Fixed #9124: fixed `SelectDateWidget` with `required=False`. Thanks, Bernd Schlapsi. 2009-04-18 17:35:53 +00:00
fields.py Converted regressiontests/forms/fields.py to unittests 2009-12-13 22:00:26 +00:00
forms.py Fixed #3512: it's now possible to add CSS hooks to required/erroneous form rows. Thanks, SmileyChris. 2009-12-12 18:52:12 +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 #10792 -- Ensured that ModelChoiceFields don't provide an empty option when the underlying field has blank=False and there is a default value available. Thanks to carljm for the report and patch. 2009-05-10 07:44:27 +00:00
regressions.py Added an explicit test showing that field errors are correctly autoescaped. 2009-11-20 14:59:44 +00:00
tests.py Converted regressiontests/forms/fields.py to unittests 2009-12-13 22:00:26 +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