django/tests/modeltests
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
..
aggregation Fixed #18056 - Cleared aggregations on DateQuery.add_date_select 2012-07-16 19:52:31 +03:00
basic [py3] Removed longs. 2012-07-22 09:29:53 +02:00
choices Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
custom_columns [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
custom_managers [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
custom_methods Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
custom_pk [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
defer Fixed #17485 -- Made defer work with select_related 2012-06-26 18:08:42 +03:00
delete [py3] Added Python 3 compatibility for xrange. 2012-07-22 09:29:56 +02:00
distinct_on_fields Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
empty Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
expressions [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
field_defaults [py3] Removed longs. 2012-07-22 09:29:53 +02:00
field_subclassing [py3] Ported django.utils.encoding. 2012-08-07 12:00:22 +02:00
files Fixed #18515 -- Conditionally regenerated filename in FileField validation 2012-06-26 18:18:44 +02:00
fixtures Added more precise assertions on two fixture tests. 2012-06-07 14:37:37 +02:00
fixtures_model_package Removed unneeded u prefixes 2012-06-19 17:37:28 +02:00
force_insert_update Fixed various dodgy behaviours 2011-12-17 17:37:24 +00:00
generic_relations Fixed widget parent class in generic_relations test 2012-07-03 11:57:15 +02:00
get_latest Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
get_object_or_404 Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
get_or_create Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
invalid_models Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
known_related_objects Fixed #18177 -- Cached known related instances. 2012-05-24 13:25:01 +02:00
lookup [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
m2m_and_m2o [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
m2m_intermediary [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
m2m_multiple Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
m2m_recursive Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
m2m_signals Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
m2m_through Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
m2o_recursive Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
many_to_many Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
many_to_one [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
many_to_one_null [py3] Added Python 3 compatibility for xrange. 2012-07-22 09:29:56 +02:00
model_forms Fixed #5524 -- Do not remove cleaned_data when a form fails validation 2012-08-04 14:22:23 +02:00
model_formsets [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
model_inheritance [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
model_inheritance_same_model_name Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
model_package Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
mutually_referential Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
one_to_one Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
or_lookups Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
order_with_respect_to [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
ordering Fixed #8291 -- Allowed 'pk' to be used as an ordering option in `Model.Meta`. Thanks to peterd12 for the report and to evan_schulz, gruszczy, frog32 and David Gouldin for their work on the patch. 2012-02-04 19:56:40 +00:00
pagination [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
prefetch_related [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
properties Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
proxy_model_inheritance Fixed #18083 -- Fixed cascade deletion with proxy model of concrete subclass. Thanks Simon Charette for report and patch. 2012-04-09 22:41:20 +00:00
proxy_models Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
raw_query Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
reserved_names Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
reverse_lookup Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
save_delete_hooks [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
select_for_update [py3] Fixed remaining Python 3 syntax errors. 2012-07-22 09:29:53 +02:00
select_related Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
serializers [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
signals [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
str Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
tablespaces Added missing relative imports in test files. 2012-05-12 19:58:32 +02:00
test_client [py3] Updated urllib/urllib2/urlparse imports. 2012-07-22 09:29:55 +02:00
timezones [py3] Fixed access to dict keys/values/items. 2012-08-07 12:00:22 +02:00
transactions Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
unmanaged_models Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
update [py3] Replaced unicode/str by six.text_type/bytes. 2012-07-22 09:29:54 +02:00
update_only_fields Fixed #18362 - Made model.save() update_fields accept attnames 2012-07-05 16:43:28 +03:00
user_commands Fixed #18387 -- Do not call sys.exit during call_command. 2012-05-27 20:38:47 +02:00
validation Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
validators Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
__init__.py MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. 2006-05-02 01:31:56 +00:00