django/tests/modeltests
Russell Keith-Magee 17d0c7ad4c [1.2.X] Migrated model_formsets doctests. Thanks to Gregor Müllegger for the patch.
Backport of r14590 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 13:38:53 +00:00
..
aggregation [1.2.X] Fixed #13895 -- Refactored aggregation_regress doctests. Thanks to Alex Gaynor for the patch. 2010-08-20 14:29:57 +00:00
basic [1.2.X] Migrated basic doctests. Thanks to Preston Timmons for the patch. 2010-11-02 02:48:43 +00:00
choices [1.2.X] Converted doctest to unittest. Patch by Alex Gaynor. 2010-09-10 20:55:09 +00:00
custom_columns [1.2.X] Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch 2010-10-09 08:25:01 +00:00
custom_managers [1.2.X] Migrated the custom_managers tests. Thanks to Alex Gaynor. 2010-09-12 20:09:23 +00:00
custom_methods [1.2.X] Migrated custom_methods doctests. Thanks to Alex Gaynor. 2010-09-12 20:09:37 +00:00
custom_pk [1.2.X] Migrated custom_pk doctests. Thanks to Alex Gaynor. 2010-09-12 20:09:49 +00:00
defer [1.2.X] Migrated defer doctests. Thanks to Alex Gaynor. 2010-09-12 20:10:03 +00:00
delete [1.2.X] Migrated delete doctests. Thanks to Alex Gaynor. 2010-09-12 20:10:17 +00:00
empty [1.2.X] Migrated empty doctests. Thanks to Alex Gaynor. 2010-09-12 20:12:23 +00:00
expressions [1.2.X] Migrated expressions doctests. Thanks to Alex Gaynor. 2010-09-12 20:12:33 +00:00
field_defaults [1.2.X] Migrated i18n and field_defaults doctests. Thanks to Alex Gaynor. 2010-09-12 20:10:30 +00:00
field_subclassing [1.2.X] Fixed #10728 -- corrected subclassing of Fields who use the SubfieldBase metaclass. Thanks to G2P and George Sakkis for their work on the patch. Backport of [14443]. 2010-11-02 18:41:23 +00:00
files [1.2.X] Migrate the files doctests. Thanks to Alex Gaynor. 2010-09-12 20:10:54 +00:00
fixtures Corrected pre-Python 2.6 syntax incompatibility from r13319. Thanks to Karen Tracey for the report. 2010-06-05 12:53:51 +00:00
fixtures_model_package [1.2.X] 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:19:08 +00:00
force_insert_update [1.2.X] Migrated the force_insert_update tests. Thanks to Alex Gaynor. 2010-09-12 20:11:06 +00:00
generic_relations Corrected a suite of test failures when running under postgres. Backport of [14241]. 2010-10-17 01:50:58 +00:00
get_latest [1.2.X] Migrate get_latest doctests. Thanks to Alex Gaynor. 2010-09-12 20:11:17 +00:00
get_object_or_404 [1.2.X] Migrated get_object_or_404 doctests. Thanks to Alex Gaynor. 2010-09-12 20:11:30 +00:00
get_or_create [1.2.X] Fixed the get_or_create tests for postgreSQL, by using 2010-09-12 22:16:36 +00:00
invalid_models [1.2.X] Fixed #3055 -- Validate that models target of a GenericRelation have a GenericForeignKey field. 2010-11-14 23:36:40 +00:00
lookup [1.2.X] Migrated lookup doctests. Thanks to George Sakkis for the patch. 2010-11-02 04:38:29 +00:00
m2m_and_m2o [1.2.X] Migrated m2m_intermediary doctests. Thanks to Alex Gaynor. 2010-09-12 20:12:02 +00:00
m2m_intermediary [1.2.X] Migrated m2m_intermediary doctests. Thanks to Alex Gaynor. 2010-09-12 20:12:02 +00:00
m2m_multiple [1.2.X] Migrated m2m_multiple doctests. Thanks to Alex Gaynor. 2010-09-12 20:12:14 +00:00
m2m_recursive [1.2.X]. Convert m2m_recursive tests to unittests. We have always been at war with doctests. Backport of [14082]. 2010-10-09 16:27:19 +00:00
m2m_signals [1.2.X]Converted m2m_signals from doctests to unittests. Thanks to Gregor Müllegger for the patch. We have always been at war with doctests. Backport of [14548]. 2010-11-12 19:40:04 +00:00
m2m_through [1.2.X] Migrated m2m_through doctests. Thanks to the anonymous contributor. 2010-11-02 02:01:18 +00:00
m2o_recursive [1.2.X] Migrated m2o_recursive and m2o_recursive2 tests, merging them into a single package. Thanks to George Sakkis for the patches. 2010-10-12 01:00:58 +00:00
many_to_many [1.2.X] Migrated many-to-many doctests. Thanks to George Sakkis for the patch. 2010-10-19 12:28:48 +00:00
many_to_one [1.2.X] Migrated many-to-one doctests. Thanks to George Sakkis for the patch. 2010-10-19 05:11:56 +00:00
many_to_one_null [1.2.X] Tweak to many_to_one_null doctest to avoid primary key assumptions (causing breakage on PostgreSQL). 2010-10-12 01:02:57 +00:00
model_forms [1.2.X] Removed the executable bit from a test file, it wasn't. Thanks to Florian for the report. Backport of [14530]. 2010-11-11 17:53:59 +00:00
model_formsets [1.2.X] Migrated model_formsets doctests. Thanks to Gregor Müllegger for the patch. 2010-11-17 13:38:53 +00:00
model_inheritance [1.2.X] Converted model_inheritance doctests to unittests. We have always been at war with doctests. Backport of [14348]. 2010-10-25 18:21:39 +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 [1.2.X] 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. Backport of [14227]. 2010-10-15 07:34:41 +00:00
mutually_referential [1.2.X] Migrated the mutually_referential doctests. Thanks to George Sakkis for the patch. 2010-10-12 01:01:25 +00:00
one_to_one [1.2.X] Migrated one_to_one doctests. Thanks to George Sakkis for the patch. (We have always been at war with doctests) 2010-10-12 01:02:37 +00:00
or_lookups [1.2.X] Converted or_lookups tests from doctests to unittests. We have always been at war with doctests. Thanks to Paul Tax for the patch. Backport of [14236]. 2010-10-16 17:00:35 +00:00
order_with_respect_to [1.2.X] Fixed #13241. order_with_respect_to now works with ForeignKeys who refer to their model lazily (i.e. with a string). Thanks to Gabriel Grant for the patch. This is a backport of [14045]. 2010-10-08 23:55:38 +00:00
ordering [1.2.X] Converted ordering tests from doctests to unittests. We have always been at war with doctests. Backport of [14147]. 2010-10-11 18:18:12 +00:00
pagination [1.2.X] Fixed #14444 -- Convert the pagination doctests to unittests. We have always been at war with doctests. Thanks to Gabriel Hurley for the patch. Backport of [14152]. 2010-10-11 20:38:29 +00:00
properties [1.2.X] Migrated properties doctests. Thanks to George Sakkis for the patch. 2010-10-12 01:01:49 +00:00
proxy_model_inheritance [1.2.X] Fixed a few more cases of the tests not properly restoring sys.path (follow up on [14430]). Backport of [14431]. 2010-11-02 05:31:53 +00:00
proxy_models [1.2.X] Migrated proxy_models doctests. Thanks to Eric Florenzano. 2010-09-13 05:48:18 +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 [1.2.X] Migrated reserved_names doctests. Thanks to Eric Florenzano. 2010-09-13 05:48:06 +00:00
reverse_lookup [1.2.X] Migrated reverse_lookup doctests. Thanks to Eric Florenzano 2010-09-13 05:47:52 +00:00
save_delete_hooks [1.2.X] Converted save_delete_hooks tests from doctests to unittests. We have always been at war with doctests. Backport of [14145]. 2010-10-11 17:41:59 +00:00
select_related [1.2.X] Migrated select_related doctests. Thanks to Eric Florenzano. 2010-09-13 05:47:39 +00:00
serializers [1.2.X] Fixed #11486 -- Corrected the XML serializer to allow for the serialization of objects with a null PK value. Also includes migration of doctests to unittests (we have always been at war with doctests). Thanks to zdmytriv for the report, and Niall Kelly for the patch. 2010-09-19 14:05:43 +00:00
signals [1.2.X] Converted signals tests from doctests to unittests. We have always been at war with doctests. Backport of [14131]. 2010-10-10 18:28:53 +00:00
str [1.2.X] Migrated str doctests. Thanks to Eric Florenzano. 2010-09-13 05:47:26 +00:00
test_client [1.2.X] Modified the test_client tests to use the non-deprecated mail API. 2010-10-12 14:09:02 +00:00
transactions [1.2.X] Migrated transactions doctests. Thanks to Eric Florenzano. 2010-09-13 05:47:13 +00:00
unmanaged_models [1.2.X] Migrated unmanaged_models doctests. Thanks to Eric Florenzano. 2010-09-13 05:46:59 +00:00
update [1.2.X] Migrated the update doctests. Thanks to Eric Florenzano. 2010-09-13 05:46:46 +00:00
user_commands [1.2.X] Migrated user_commands doctests. Thanks to Eric Florenzano. 2010-09-13 05:46:34 +00:00
validation [1.2.X] 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:08:26 +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 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