django1/tests/modeltests
Jacob Kaplan-Moss 609a42ee06 Removed formatting from the select_related test title.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4797 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 20:18:58 +00:00
..
basic Changed __year lookup to use a BETWEEN SQL statement instead of comparing the result of EXTRACT(year). This should be more efficient. 2007-02-14 06:32:32 +00:00
choices Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
custom_columns Fixed #3098 -- Added db_table parameter to m2m fields, allowing the specification of a custom table name for the m2m table. Thanks, Wolfram Kriesing. 2007-01-25 13:47:55 +00:00
custom_managers Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
custom_methods Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
custom_pk Made ``pk`` a generic expansion for the primary key, rather than just an expansion for __id__exact. 2006-09-25 13:49:01 +00:00
empty Renumbered all the doctest examples so that they are ordered correctly on the doc pages. 2007-03-23 20:17:04 +00:00
field_defaults Renumbered all the doctest examples so that they are ordered correctly on the doc pages. 2007-03-23 20:17:04 +00:00
fixtures Renumbered all the doctest examples so that they are ordered correctly on the doc pages. 2007-03-23 20:17:04 +00:00
generic_relations Renumbered all the doctest examples so that they are ordered correctly on the doc pages. 2007-03-23 20:17:04 +00:00
get_latest Fixed typo in docstring of get_latest model unit test 2006-08-31 03:16:08 +00:00
get_object_or_404 Renumbered all the doctest examples so that they are ordered correctly on the doc pages. 2007-03-23 20:17:04 +00:00
get_or_create Renumbered all the doctest examples so that they are ordered correctly on the doc pages. 2007-03-23 20:17:04 +00:00
invalid_models Fixes #2653 -- Modified related field utility methods to return None as the related name for symmetrical m2m fields on self. Updated validators and unit tests to account for the new behavior. 2006-09-07 13:29:56 +00:00
lookup #fixed #2256 -- Made count() interact with slicing on QuerySets. Patch from 2007-02-12 00:16:17 +00:00
m2m_and_m2o Renumbered all the doctest examples so that they are ordered correctly on the doc pages. 2007-03-23 20:17:04 +00:00
m2m_intermediary Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
m2m_multiple Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
m2m_recursive Renumbered all the doctest examples so that they are ordered correctly on the doc pages. 2007-03-23 20:17:04 +00:00
m2o_recursive Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
m2o_recursive2 Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
manipulators Renumbered all the doctest examples so that they are ordered correctly on the doc pages. 2007-03-23 20:17:04 +00:00
many_to_many Fixed #3389 -- Many-to-many sets can now be assigned with primary key values 2007-01-29 16:09:25 +00:00
many_to_one Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
many_to_one_null Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
model_forms Renumbered all the doctest examples so that they are ordered correctly on the doc pages. 2007-03-23 20:17:04 +00:00
model_inheritance Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
mutually_referential Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
one_to_one Fixed #2783 -- Fixed one-to-one fields to work with any primary key data type 2006-09-26 02:58:36 +00:00
or_lookups Fixed #2473 -- Added special case for '__in=[]' (empty set) queries, because 'WHERE attr IN ()' is invalid SQL on many backends. Thanks, Gary Wilson. 2007-01-04 04:00:16 +00:00
ordering Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
pagination Renumbered all the doctest examples so that they are ordered correctly on the doc pages. 2007-03-23 20:17:04 +00:00
properties Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
reserved_names Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
reverse_lookup Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
save_delete_hooks Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
select_related Removed formatting from the select_related test title. 2007-03-23 20:18:58 +00:00
serializers Renumbered all the doctest examples so that they are ordered correctly on the doc pages. 2007-03-23 20:17:04 +00:00
str Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
test_client Renumbered all the doctest examples so that they are ordered correctly on the doc pages. 2007-03-23 20:17:04 +00:00
transactions Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
validation Renumbered all the doctest examples so that they are ordered correctly on the doc pages. 2007-03-23 20:17:04 +00: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