0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
django/tests/modeltests
Anssi Kääriäinen fcad6c48f0 Fixed #17497 -- Corrected FieldError message in add_fields()
The erroneous message was user visible in values_list() calls.

Thanks to ojii for report and review, and to antoviaque for the patch.
2012-07-17 12:49:46 +03:00
..
aggregation Fixed #18056 - Cleared aggregations on DateQuery.add_date_select 2012-07-16 19:52:31 +03:00
basic Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
choices Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
custom_columns Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
custom_managers Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +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 Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
defer Fixed #17485 -- Made defer work with select_related 2012-06-26 18:08:42 +03:00
delete Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00: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 Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
field_defaults Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
field_subclassing Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +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 Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
m2m_and_m2o Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
m2m_intermediary Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +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 Fixed #17497 -- Corrected FieldError message in add_fields() 2012-07-17 12:49:46 +03:00
many_to_one_null Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
model_forms Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
model_formsets Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
model_inheritance Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +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 Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00: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 Fixed #17159 -- Validated returned number of next|previous_page_number 2012-06-09 17:55:24 +02:00
prefetch_related Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +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 Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
select_for_update Fixed some locations to work with autocommit=True 2012-07-01 19:27:36 +03:00
select_related Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
serializers Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
signals Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +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 Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
timezones Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +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 Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +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