django/tests/modeltests
Jacob Kaplan-Moss 24512a74be Fixed #1465: added support for regex lookups. Thanks, Tom Tobin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 18:58:10 +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 comma splice in error message introduced in [5133] 2007-05-06 04:12:08 +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 Moved generic relations into django.contrib.contenttypes, since it depends on 2007-05-08 10:59:35 +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 Fixed #2365, #3324 -- Renamed FloatField to DecimalField and changed the code 2007-05-21 01:29:58 +00:00
lookup Fixed #1465: added support for regex lookups. Thanks, Tom Tobin. 2007-06-27 18:58:10 +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 Fixed comma splice in error message introduced in [5133] 2007-05-06 04:12:08 +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 Changed the fix from [5231] so that the backwards-incompatibility is made more 2007-05-14 16:24:51 +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 Fixed comma splice in error message introduced in [5133] 2007-05-06 04:12:08 +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 Fixed #3466 -- Fixed problem with specifyin a 'fields' argument to a JSON serializer. Also added documenation for the 'fields' argument. 2007-06-01 13:39:08 +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 Improved error reporting for assertions where there are no form errors, or a non-existent field has been provided. Also created a test client regression test, to hold the tests validating the failure cases of the TestCase assertions. 2007-05-10 13:46:15 +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