django/tests/modeltests
Aymeric Augustin d4a0b27838 [py3] Refactored __unicode__ to __str__.
* Renamed the __unicode__ methods
* Applied the python_2_unicode_compatible decorator
* Removed the StrAndUnicode mix-in that is superseded by
  python_2_unicode_compatible
* Kept the __unicode__ methods in classes that specifically
  test it under Python 2
2012-08-12 14:44:40 +02:00
..
aggregation [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
basic [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
choices [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
custom_columns [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
custom_managers [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
custom_methods [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
custom_pk [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
defer [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
delete [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
distinct_on_fields [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +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] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
field_defaults [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
field_subclassing [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
files [py3] Various minor syntax fixes in the test suite 2012-08-11 23:23:31 +02:00
fixtures [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
fixtures_model_package [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
force_insert_update Fixed various dodgy behaviours 2011-12-17 17:37:24 +00:00
generic_relations [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
get_latest [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
get_object_or_404 [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
get_or_create [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
invalid_models [py3] Used six.StringIO to simulate stdout buffer in tests 2012-08-11 18:56:14 +02:00
known_related_objects Fixed #18177 -- Cached known related instances. 2012-05-24 13:25:01 +02:00
lookup [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_and_m2o [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_intermediary [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_multiple [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_recursive [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_signals [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_through [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2o_recursive [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
many_to_many [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
many_to_one [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
many_to_one_null [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
model_forms [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
model_formsets [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
model_inheritance [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
model_inheritance_same_model_name [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02: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 [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
or_lookups [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
order_with_respect_to [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
ordering [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
pagination [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
prefetch_related [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +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 [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +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 [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
reverse_lookup [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
save_delete_hooks [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
select_for_update [py3] Fixed remaining Python 3 syntax errors. 2012-07-22 09:29:53 +02:00
select_related [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
serializers [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
signals [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
str [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +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 Decorated some tests that require tz support. 2012-08-11 17:32:24 -04:00
transactions [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
unmanaged_models [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
update [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
update_only_fields [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
user_commands [py3] Used compatible imports of StringIO. 2012-08-08 14:50:01 +02:00
validation [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +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