django/tests/modeltests
Russell Keith-Magee bfbc259de0 Migrated the custom_columns doctests to unit tests. Thanks to Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 18:43:06 +00:00
..
aggregation Fixed #13895 -- Refactored aggregation_regress doctests. Thanks to Alex Gaynor for the patch. 2010-08-20 14:28:42 +00:00
basic Fixed #12164 -- Removed the Python 2.3 compatibility imports and workarounds. Thanks to timo and claudep for the patch. 2010-05-04 14:00:30 +00:00
choices Converted doctest to unittest. Patch by Alex Gaynor. 2010-09-10 20:54:01 +00:00
custom_columns Migrated the custom_columns doctests to unit tests. Thanks to Alex Gaynor. 2010-09-12 18:43:06 +00:00
custom_managers
custom_methods
custom_pk Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
defer Fixed #11936 -- Removed deferred models from the list returned by the app_cache. Thanks to ryszard for the report, and clamothe for the initial patch. 2009-12-22 06:01:23 +00:00
delete Modified the delete test to clean up after itself properly, so that the proxy_model_inheritance test can run without requiring manual confirmation. 2010-03-25 17:31:25 +00:00
empty
expressions Fixed #13357 -- Minor changes to get Django running under PyPy. Thanks to Alex Gaynor for the patch. 2010-04-16 11:11:55 +00:00
field_defaults
field_subclassing Fixed #13171 -- Corrected the field_subclassing unit test. Thanks to Gabriel Hurley for the report and patch. 2010-03-23 14:11:41 +00:00
files Fixed the files test to not care whether the names are reported as bytestrings or unicode. Refs #12898. 2010-03-03 13:40:52 +00:00
fixtures Fixed #14162 - Dumpdata needs an option to use the base manager instead of the default manager 2010-08-30 11:58:26 +00:00
fixtures_model_package Pass commit=False to loaddata in tests, which will keep the DB connection open. Closing the connection has the side-effect on some DBs (Postgres, MySQL/InnoDB) of rolling back the transaction that was in progress, causing these tests to fail. 2010-09-10 19:16:43 +00:00
force_insert_update
generic_relations
get_latest
get_object_or_404 Fixed #11066 -- Corrected 15 duplicate "the"s found in docs and code comments. Thanks kaikuehne. 2009-05-17 16:45:28 +00:00
get_or_create
invalid_models Fixed test failure that was occurring since r12908 2010-04-06 12:18:56 +00:00
lookup Fixed #12142 -- EmptyQuerySet.update() no longer updates all rows in the database 2010-01-10 17:53:19 +00:00
m2m_and_m2o
m2m_intermediary
m2m_multiple
m2m_recursive
m2m_signals Fixed #13087 -- Modified m2m signals to provide greater flexibility over exactly when notifications are delivered. 2010-03-30 11:54:56 +00:00
m2m_through Fixed #10109 -- Removed the use of raw SQL in many-to-many fields by introducing an autogenerated through model. 2009-11-03 14:02:49 +00:00
m2o_recursive
m2o_recursive2
many_to_many
many_to_one Fixed #12876 -- Corrected a problem with recursive relations under deepcopy. Thanks to elachuni for the patch. 2010-03-07 07:11:22 +00:00
many_to_one_null
model_forms Fixed #14102 -- Ensure that fields that have been excluded from a form aren't included in the unique_for_* checks, either. Thanks to Travis Cline for the report and fix. 2010-08-17 07:07:28 +00:00
model_formsets Fixed #13524 -- Added backwards compatibility and feature notes regarding admin inlines and formsets. Thanks to Ramiro Morales and Gabriel Hurley. 2010-05-12 11:56:42 +00:00
model_inheritance Fixed #12152. DoesNotExist and MultipleObjectsReturned now subclass their parent model's exceptions. Thanks, mattmcc and Alex Gaynor. 2010-02-24 14:32:11 +00:00
model_inheritance_same_model_name Fixed #9638 - Added %(app_label)s to the related_name format string for abstract models. 2010-01-09 20:03:52 +00:00
model_package Fixed an Oracle test failure introduced in [12226]. 2010-01-19 18:09:03 +00:00
mutually_referential
one_to_one
or_lookups Fixed #12164 -- Removed the Python 2.3 compatibility imports and workarounds. Thanks to timo and claudep for the patch. 2010-05-04 14:00:30 +00:00
order_with_respect_to
ordering
pagination
properties
proxy_model_inheritance Fixed #13657: Moved global declaration before assignments to avoid a syntax warning. Thanks Alex. 2010-06-07 03:01:06 +00:00
proxy_models Removed more stray tabs in Python files. 2010-02-27 16:30:27 +00:00
raw_query Fixed #12429 -- Ensure that raw queries call resolve_columns if the backend defines it. This ensures (as much as possible) that the model values returned by a raw query match that in normal queries. Thanks to Ian Kelly for the report. 2010-04-01 16:48:16 +00:00
reserved_names
reverse_lookup
save_delete_hooks
select_related
serializers Fixed #12164 -- Removed the Python 2.3 compatibility imports and workarounds. Thanks to timo and claudep for the patch. 2010-05-04 14:00:30 +00:00
signals Fixed #11134: signals recievers that disconnect during their processing no longer mess things up for other handlers. Thanks, Honza Kral. 2009-05-20 16:13:55 +00:00
str
test_client Fixed #14116 -- Added a flag to enable CSRF checks in the test client. Thanks to jon@licq.org for the suggestion. 2010-08-27 13:54:13 +00:00
transactions Added a transaction rollback needed to clean up after the test introduced by r12764. 2010-03-15 12:58:21 +00:00
unmanaged_models Fixed the tests from #10455 so that they are set up correctly. 2009-04-11 02:12:31 +00:00
update Fixed #12247 -- Corrected the way update queries are processed when the update only refers to attributes on a base class. Thanks to jsmullyan for the report, and matiasb for the fix. 2010-04-03 11:45:31 +00:00
user_commands Fixed #10080: `call_command` now takes option defaults into account, sparing individual commands from any difference between `call_command` and being run from the shell. Thanks, Alex Koshelev. 2009-04-05 17:27:26 +00:00
validation Fixed #14102 -- Ensure that fields that have been excluded from a form aren't included in the unique_for_* checks, either. Thanks to Travis Cline for the report and fix. 2010-08-17 07:07:28 +00:00
validators Fixed #13352 -- Added __repr__ method for Validation Error. Thanks to elpaso66 for the report. 2010-04-15 11:19:59 +00:00
__init__.py