django/tests/modeltests
Chris Beaven 5c86831ac5 Tiny doc fix. Thanks kizzo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-14 00:37:42 +00:00
..
aggregation
basic Migrated basic doctests. Thanks to Preston Timmons for the patch. 2010-11-02 02:32:23 +00:00
choices
custom_columns
custom_managers
custom_methods
custom_pk Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. 2010-10-11 12:55:17 +00:00
defer
delete Fixed #7539, #13067 -- Added on_delete argument to ForeignKey to control cascade behavior. Also refactored deletion for efficiency and code clarity. Many thanks to Johannes Dollinger and Michael Glassford for extensive work on the patch, and to Alex Gaynor, Russell Keith-Magee, and Jacob Kaplan-Moss for review. 2010-11-09 16:46:42 +00:00
empty
expressions
field_defaults
field_subclassing Fixed #10728 -- corrected subclassing of Fields who use the SubfieldBase metaclass. Thanks to G2P and George Sakkis for their work on the patch. 2010-11-02 18:40:53 +00:00
files Fixed #14749 -- added support for using Django's file object as context managers. Thanks to Florian Apolloner for the patch. 2010-11-21 17:51:41 +00:00
fixtures Tiny doc fix. Thanks kizzo. 2010-12-14 00:37:42 +00:00
fixtures_model_package
force_insert_update
generic_relations Corrected a suite of test failures when running under postgres. 2010-10-17 01:49:36 +00:00
get_latest
get_object_or_404
get_or_create
invalid_models Fiexed #3055 -- Validate that models target of a GenericRelation have a GenericForeignKey field. 2010-11-14 23:21:39 +00:00
lookup Fixed #5768 -- Added support for ManyToManyFields and reverse relations in values() and values_list(). Thanks to mrmachine for the patch. 2010-11-21 02:28:25 +00:00
m2m_and_m2o
m2m_intermediary
m2m_multiple
m2m_recursive
m2m_signals Converted m2m_signals from doctests to unittests. Thanks to Gregor Müllegger for the patch. We have always been at war with doctests. 2010-11-12 19:39:22 +00:00
m2m_through Migrated m2m_through doctests. Thanks to the anonymous contributor. 2010-11-02 02:00:16 +00:00
m2o_recursive Migrated m2o_recursive and m2o_recursive2 tests, merging them into a single package. Thanks to George Sakkis for the patches. 2010-10-12 00:14:49 +00:00
many_to_many Migrated many-to-many doctests. Thanks to George Sakkis for the patch. 2010-10-19 12:01:47 +00:00
many_to_one Migrated many-to-one doctests. Thanks to George Sakkis for the patch. 2010-10-19 04:58:59 +00:00
many_to_one_null Tweak to many_to_one_null doctest to avoid primary key assumptions (causing breakage on PostgreSQL). 2010-10-12 00:56:40 +00:00
model_forms Removed the executable bit from a test file, it wasn't. Thanks to Florian for the report. 2010-11-11 17:53:25 +00:00
model_formsets Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
model_inheritance Converted model_inheritance doctests to unittests. We have always been at war with doctests. 2010-10-25 18:20:07 +00:00
model_inheritance_same_model_name
model_package Fixed #14473 -- converted the model_package tests from doctests to unitests. We have always been at war with doctests. Thanks to Gabriel Hurley for the patch. 2010-10-15 07:34:23 +00:00
mutually_referential Migrated the mutually_referential doctests. Thanks to George Sakkis for the patch. 2010-10-12 00:55:05 +00:00
one_to_one Migrated one_to_one doctests. Thanks to George Sakkis for the patch. (We have always been at war with doctests) 2010-10-12 00:56:19 +00:00
or_lookups Converted or_lookups tests from doctests to unittests. We have always been at war with doctests. Thanks to Paul Tax for the patch. 2010-10-16 17:00:11 +00:00
order_with_respect_to
ordering Converted ordering tests from doctests to unittests. We have always been at war with doctests. 2010-10-11 18:17:37 +00:00
pagination Fixed #14444 -- Convert the pagination doctests to unittests. We have always been at war with doctests. Thanks to Gabriel Hurley for the patch. 2010-10-11 20:38:12 +00:00
properties Migrated properties doctests. Thanks to George Sakkis for the patch. 2010-10-12 00:55:31 +00:00
proxy_model_inheritance Fixed a few more cases of the tests not properly restoring sys.path (follow up on [14429]). 2010-11-02 05:31:19 +00:00
proxy_models
raw_query Fixed #14700 -- ensure that a raw query is only executed once per iteration. 2010-12-03 20:25:59 +00:00
reserved_names
reverse_lookup
save_delete_hooks Converted save_delete_hooks tests from doctests to unittests. We have always been at war with doctests. 2010-10-11 17:41:44 +00:00
select_related Fixed result ordering assumptions in the select_related tests. 2010-12-01 21:35:54 +00:00
serializers Fixed #14436 -- Escalated 1.2 PendingDeprecationWarnings to DeprecationWarnings, and removed 1.1 deprecated code. 2010-10-11 12:20:07 +00:00
signals Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
str
test_client Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
transactions Fixed #14550 -- fixed the behavior of commit_on_success to exit the transaction properly. This was a bug introduced in [14288]. Thanks to Justin for the report and Florian Apolloner for help debugging. 2010-10-24 17:25:49 +00:00
unmanaged_models
update Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
user_commands
validation Fixed #5416 -- Added TestCase.assertNumQueries, which tests that a given function executes the correct number of queries. 2010-10-12 03:33:19 +00:00
validators Fixed #14598 -- Changed some 'domain.com' uses to 'example.com' 2010-11-02 16:19:17 +00:00
__init__.py