1
0
mirror of https://github.com/django/django.git synced 2024-12-28 12:06:22 +00:00
django/tests/regressiontests/forms/tests
Aymeric Augustin c5ef65bcf3 [py3] Ported django.utils.encoding.
* Renamed smart_unicode to smart_text (but kept the old name under
  Python 2 for backwards compatibility).
* Renamed smart_str to smart_bytes.
* Re-introduced smart_str as an alias for smart_text under Python 3
  and smart_bytes under Python 2 (which is backwards compatible).
  Thus smart_str always returns a str objects.
* Used the new smart_str in a few places where both Python 2 and 3
  want a str.
2012-08-07 12:00:22 +02: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 Fix a Python 2.5-ism. 2011-10-13 21:44:58 +00:00
error_messages.py Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
extra.py [py3] Ported django.utils.encoding. 2012-08-07 12:00:22 +02:00
fields.py [py3] Replaced basestring by six.string_types. 2012-07-22 09:29:54 +02:00
forms.py Fixed #5524 -- Do not remove cleaned_data when a form fails validation 2012-08-04 14:22:23 +02:00
formsets.py Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
input_formats.py
media.py Use the class decorator syntax available in Python >= 2.6. Refs #17965. 2012-03-30 09:08:29 +00:00
models.py [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
regressions.py Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
util.py [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
validators.py Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
widgets.py [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00