django/tests/regressiontests/forms/tests
Claude Paroz 78f66691ee Fixed #8627 -- Prevented textareas to swallow first newline content
Browsers consider the first newline in textareas as some display
artifact, not real content. Hence they are not sending it back to
the server. If we want to keep initial newlines, we have to add one
when we render the textarea.
Thanks bastih for the report and initial patch.
2012-11-05 20:27:06 +01:00
..
filepath_test_files Changed FilePathField tests to use it's own directory with test files. 2012-06-03 22:54:34 +02:00
__init__.py Fixed #8627 -- Prevented textareas to swallow first newline content 2012-11-05 20:27:06 +01:00
error_messages.py [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
extra.py Used @override_settings in several tests. 2012-10-20 23:22:46 +02:00
fields.py Fixed test failure after IDN domain validation fix 2012-10-09 22:44:43 +02:00
forms.py Fixed #16820 -- Treated '0' value as True for checkbox inputs 2012-10-26 20:44:00 +02:00
formsets.py Fixed #16479 - Forms generated from formsets use ErrorList instead of supplied error_class 2012-10-13 15:28:20 +01:00
input_formats.py Used @override_settings in several tests. 2012-10-20 23:22:46 +02:00
media.py Use the class decorator syntax available in Python >= 2.6. Refs #17965. 2012-03-30 09:08:29 +00:00
models.py Fixed #14567 -- Made ModelMultipleChoiceField return EmptyQuerySet as empty value 2012-10-03 20:47:35 +03:00
regressions.py Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
util.py [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
validators.py Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
widgets.py Fixed #8627 -- Prevented textareas to swallow first newline content 2012-11-05 20:27:06 +01:00