0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
django/tests/modeltests/validation
Claude Paroz 0dc904979d Fixed #18407 -- Made model field's to_python methods fully accept unicode.
When generating error message in to_python, any unicode string
containing non-ascii characters triggered a UnicodeEncodeError for
most field types.
2012-05-31 16:46:07 +02:00
..
__init__.py Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
models.py Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
test_custom_messages.py Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
test_error_messages.py Fixed #18407 -- Made model field's to_python methods fully accept unicode. 2012-05-31 16:46:07 +02:00
test_unique.py Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
tests.py Removed deprecated URLField.verify_exists. 2012-03-31 13:55:03 +00:00
validators.py Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00