django/tests/modeltests
Claude Paroz 3904b74a3f Fixed #18013 -- Use the new 'as' syntax for exceptions.
Thanks Clueless for the initial patch.
Note that unittest has been purposely left out (external package only used by Python 2.6).
2012-04-29 20:57:15 +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 Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
choices
custom_columns
custom_managers Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
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 Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
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 Changed the fixtures used to test the 'initial_data' feature so they don't contain datetimes. Refs #17275. 2011-11-27 13:00:56 +00:00
fixtures_model_package Changed the fixtures used to test the 'initial_data' feature so they don't contain datetimes. Refs #17275. 2011-11-27 13:00:56 +00:00
force_insert_update Fixed various dodgy behaviours 2011-12-17 17:37:24 +00:00
generic_relations Fixed #16921 -- Added assertHTMLEqual and assertHTMLNotEqual assertions, and converted Django tests to use them where appropriate. Thanks Greg Müllegger. 2012-01-31 20:36:11 +00: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 #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +02:00
invalid_models Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +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
m2m_multiple Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
m2m_recursive
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 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_formsets Fixed #16921 -- Added assertHTMLEqual and assertHTMLNotEqual assertions, and converted Django tests to use them where appropriate. Thanks Greg Müllegger. 2012-01-31 20:36:11 +00:00
model_inheritance
model_inheritance_same_model_name
model_package
mutually_referential
one_to_one
or_lookups
order_with_respect_to
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
prefetch_related Fixed an Oracle-specific test case failure 2012-04-29 19:48:43 +03: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
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 Fixed #18013 -- Use the new 'as' syntax for exceptions. 2012-04-29 20:57:15 +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 Fixed #18023 -- Removed bundled simplejson. 2012-04-29 19:58:00 +02:00
signals
str
tablespaces
test_client Converted more test assertions to assert[Not]Contains. 2012-04-14 13:35:25 +00:00
timezones Simplified timezones tests with settings_changed. 2012-04-29 16:03:46 +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
update
user_commands Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00: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