django/tests/modeltests
Aymeric Augustin 1e6c3368f2 Fixed #18177 -- Cached known related instances.
This was recently fixed for one-to-one relations; this patch adds
support for foreign keys. Thanks kaiser.yann for the report and
the initial version of the patch.
2012-05-24 13:25:01 +02:00
..
aggregation Renamed the fixtures used by the aggregation tests so they're only loaded by the tests that use them. Refs #17275. 2011-11-27 10:31:26 +00:00
basic Made model fields comparable to other objects 2012-05-07 20:08:20 +03:00
choices
custom_columns Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
custom_managers
custom_methods
custom_pk
defer Refs #17876: enhanced new test to actually test underlying function, not just ensure trying to use it does not raise an exception. Thanks Przemek Lewandowski. 2012-03-13 01:01:22 +00:00
delete
distinct_on_fields Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00: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
field_defaults
field_subclassing Fixed #18023 -- Removed bundled simplejson. 2012-04-29 19:58:00 +02:00
files Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
fixtures
fixtures_model_package
force_insert_update
generic_relations
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 #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
invalid_models Replaced cStringIO.StringIO by io.BytesIO. 2012-05-05 21:41:44 +02:00
known_related_objects Fixed #18177 -- Cached known related instances. 2012-05-24 13:25:01 +02:00
lookup Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
m2m_and_m2o
m2m_intermediary Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
m2m_multiple
m2m_recursive Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
m2m_signals
m2m_through
m2o_recursive
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 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_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 Marked bytestrings with b prefix. Refs #18269 2012-05-19 17:43:34 +02:00
model_formsets
model_inheritance Fixed #18304 -- Optimized save() when update_can_self_select=False 2012-05-22 20:59:33 +03: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
mutually_referential
one_to_one Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
or_lookups
order_with_respect_to
ordering
pagination
prefetch_related Replaced deprecated TestCase methods. Refs #17049. 2012-05-03 16:39:16 +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 Reverted parts of r16963 to fix a regression on the creation of permissions on proxy models. Refs #17904. Thanks koenb for the report and claudep for the patch. 2012-03-22 08:49:48 +00:00
raw_query Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
reserved_names
reverse_lookup Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
save_delete_hooks
select_for_update Replaced deprecated TestCase methods. Refs #17049. 2012-05-03 16:39:16 +02:00
select_related Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
serializers Marked bytestrings with b prefix. Refs #18269 2012-05-19 17:43:34 +02:00
signals
str Marked bytestrings with b prefix. Refs #18269 2012-05-19 17:43:34 +02:00
tablespaces Added missing relative imports in test files. 2012-05-12 19:58:32 +02:00
test_client Replaced deprecated TestCase methods. Refs #17049. 2012-05-03 16:39:16 +02:00
timezones Replaced foo.next() by next(foo). 2012-05-10 20:15:49 +02:00
transactions Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
unmanaged_models Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
update Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
update_only_fields Fixed #18304 -- Optimized save() when update_can_self_select=False 2012-05-22 20:59:33 +03:00
user_commands Fixed #18325 -- Wrapped self.stdout/stderr in OutputWrapper class 2012-05-19 13:51:54 +02:00
validation Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
validators Fixed #17100 -- Typo in the regex for EmailValidator. Thanks reames AT asymmetricventures com for the report and Claude Paroz for the patch. 2012-01-07 18:43:46 +00:00
__init__.py