1
0
mirror of https://github.com/django/django.git synced 2024-11-19 07:54:07 +00:00
django/tests/regressiontests/forms
Malcolm Tredinnick 1c87a7bb58 Fixed #5730: Conditionally escape widget contents in newforms to avoid
inadvertent double-escaping. This still isn't perfect behaviour (since it's
unaware of the current context's auto-escaping setting), but that's a larger
problem that needs fixing and this change at least makes the existing
behaviour consistent. Patch from SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-28 20:19:54 +00:00
..
localflavor Fixed #5200 -- Added some more functionality to the Polish localflavor. Thanks, 2007-10-20 09:24:19 +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 #5975 -- Gave ModelChoiceField and ModelMultipleChoiceField ability to specify custom error messages. 2007-11-18 20:25:23 +00:00
extra.py Fixed a Python 2.3 problem. 2007-11-04 02:08:15 +00:00
fields.py Fixed #5546: split form unit tests into manageable chunks. This isn't a perfect fix since the chunks aren't yet autodiscovered, but that shouldn't prevent checking this in. Thanks, Leo Soto. 2007-09-19 23:40:47 +00:00
forms.py Implemented auto-escaping of variable output in templates. Fully controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359 2007-11-14 12:58:53 +00:00
models.py Fixed #5975 -- Gave ModelChoiceField and ModelMultipleChoiceField ability to specify custom error messages. 2007-11-18 20:25:23 +00:00
regressions.py Removed an "XFAIL" marker that was accidentally hanging around since the 2007-10-27 06:23:19 +00:00
tests.py Implemented auto-escaping of variable output in templates. Fully controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359 2007-11-14 12:58:53 +00:00
util.py Fixed #3457 -- Allow overridding of error messages for newforms Fields. 2007-10-28 05:40:26 +00:00
widgets.py Fixed #5730: Conditionally escape widget contents in newforms to avoid 2007-11-28 20:19:54 +00:00