django/tests/modeltests
Alex Gaynor 2e5f0c228f [1.2.X]. Convert m2m_recursive tests to unittests. We have always been at war with doctests. Backport of [14082].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 16:27:19 +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 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 [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] Migrated the field_subclsasing doctests. Thanks to Alex Gaynor. 2010-09-12 20:10:43 +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 Fixed #10271, #10281 -- Fixed the handling multiple inline models that share a common base class and have the link to the inline parent on the base class. Includes modifications that allow the equivalent handling for GenericFields. Thanks to Idan Gazit, Antti Kaihola (akaihola), and Alex Gaynor for their work on this patch. 2009-03-10 11:19:26 +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 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 [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 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 Fixed #6365 -- Added `blank=True` to parent attribute of `m2o_recursive` model example, thanks dgrant. 2008-01-13 02:19:06 +00:00
m2o_recursive2 Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used. 2007-08-05 05:14:46 +00:00
many_to_many Fixed #10413: RelatedManager.add no longer fails silenty when trying to add an object of the wrong type. Thanks, dgouldin. 2009-03-30 22:41:49 +00:00
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 Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
model_forms [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
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 [1.2.X] Fixed a few minor backporting oversights that prevented the tests to pass. 2010-10-08 17:54:40 +00:00
mutually_referential Removed oldforms, validators, and related code: 2008-08-27 07:19:44 +00:00
one_to_one Fixed #10157: correctly set the related objects pk when assigning a reverse OneToOne. Thanks, dgouldin. 2009-03-30 22:38:19 +00:00
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 [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 Fixed #7302: Corrected quoting of columns in extra_group_by. Thanks to Ivan Sagalaev for the patch and initial test. 2008-09-01 12:07:26 +00:00
pagination Removed several deprecated features for 1.0 (refs #7830): 2008-08-02 04:56:11 +00:00
properties Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used. 2007-08-05 05:14:46 +00:00
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 [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 Updated a few save() methods on models to accept force_insert and force_update 2008-08-28 19:28:17 +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 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 [1.2.X] Migrated str doctests. Thanks to Eric Florenzano. 2010-09-13 05:47:26 +00:00
test_client [1.2.X] 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:58:36 +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