django1/tests/regressiontests/forms
Jacob Kaplan-Moss 95f5e4a8da Fixed #10774: accessing form media types in templates (i.e. ``{{ form.media.js }}``) now works. Thanks, tarequeh and Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-10 17:07:25 +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 #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
fields.py Fixed #10149. FileFields in a form now validate max_length. Based on a patch by Massimo Scamarcia. 2009-03-30 22:52:16 +00:00
forms.py Added a way to iterate over hidden/visible fields in a form. Useful for manual 2008-12-05 04:22:00 +00:00
formsets.py Fixed #9587. Formset.is_valid() now returns True if an invalid form is marked for deletion. Thanks for the test and intial patch, kratorius. 2009-03-30 19:36:19 +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 Made a set of small test changes to avoid leaving temp files hanging around after running the test suite. First, fixed a couple of places where temp dirs were (or could be) created without later being deleted. Second, added a missing close() before unlink() since Windows raises an error on an attempt to remove an open file. Finally, in the file_uploads tests, avoided opening-by-name temporary files that we already have a descriptor for. Doing additional opens seems to run afoul of the Windows issue with deleting open files, so it generally works better to just seek back to 0 instead of calling open multiple times. 2009-04-05 20:59:20 +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 #8962 -- Consistently support format and input_format in the various (individual, combined, split) date and time form fields and widgets. 2009-03-22 16:13:06 +00:00