django/tests/modeltests
Russell Keith-Magee d9568af974 Tweaked the model_formsets test to work around a weird sorting problem between versions of Postgres. Thanks to Alex Gaynor for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 15:54:34 +00:00
..
aggregation Make sure that all uses of max_length in the test suite use values smaller than 255. If we use max_length > 255 the test suite can't be run on MySQL 4. 2009-05-07 18:06:22 +00:00
basic Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
choices Fixed #7913 -- Corrected backwards incompatible parts of [7977] when optgroup handling was added to field choices (Ticket #4412). Thanks to Michael Elsdorfer (miracle2k) for the report and patch. 2008-07-27 07:22:39 +00:00
custom_columns Minor correction for [8325]. 2008-08-12 14:19:32 +00:00
custom_managers
custom_methods Fixed #7560 -- Moved a lot of the value conversion preparation for 2008-07-29 05:09:29 +00:00
custom_pk Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
defer Fixed #11936 -- Removed deferred models from the list returned by the app_cache. Thanks to ryszard for the report, and clamothe for the initial patch. 2009-12-22 06:01:23 +00:00
delete Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
empty
expressions Fixed #11886 -- Corrected handling of F() expressions that use parentheses. Thanks to Brent Hagany for the report. 2009-09-16 12:09:47 +00:00
field_defaults Fixed #6052 -- Worked around a bug in MySQLdb with regards to handling 2008-11-16 08:50:06 +00:00
field_subclassing Removed oldforms, validators, and related code: 2008-08-27 07:19:44 +00:00
files Fixed #7712, #9404, #10249, #10300: a light refactor and cleanup of file storage and the `File` object. Thanks to Armin Ronacher and Alex Gaynor. 2009-05-08 15:08:09 +00:00
fixtures Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
fixtures_model_package Fixed #6961 - loaddata fails if models is a package instead of a module 2009-12-19 14:27:26 +00:00
force_insert_update There are some variations in the printed names of exceptions between Oracle and 2008-08-20 18:50: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 Fixed a couple typos in the modeltests' descriptions and made use of ReST inline literal markup for code snippets. 2008-08-12 14:15:38 +00:00
get_object_or_404 Fixed #11066 -- Corrected 15 duplicate "the"s found in docs and code comments. Thanks kaikuehne. 2009-05-17 16:45:28 +00:00
get_or_create Fixed #8669 -- Use a consistent version of create() across the board for 2008-09-03 00:09:33 +00:00
invalid_models 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
lookup Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
m2m_and_m2o
m2m_intermediary Fixed a couple typos in the modeltests' descriptions and made use of ReST inline literal markup for code snippets. 2008-08-12 14:15:38 +00:00
m2m_multiple Fixed a couple typos in the modeltests' descriptions and made use of ReST inline literal markup for code snippets. 2008-08-12 14:15:38 +00:00
m2m_recursive Fixed a couple typos in the modeltests' descriptions and made use of ReST inline literal markup for code snippets. 2008-08-12 14:15:38 +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
m2o_recursive2
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 #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
many_to_one_null
model_forms Fixed #399: Added big integer field. Thanks to Tomáš Kopeček for persistently maintaining a patch for this. 2009-12-17 15:10:38 +00:00
model_formsets Tweaked the model_formsets test to work around a weird sorting problem between versions of Postgres. Thanks to Alex Gaynor for the report. 2009-12-22 15:54:34 +00:00
model_inheritance Updated the tests. 2008-08-09 17:19:44 +00:00
model_package Fixed #12245 -- Corrected target app handling for auto-generated m2m models when the parent model isn't in the models module (or a subpackage thereof). Thanks to emulbreh for the report and patch. 2009-11-20 00:59:38 +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 a couple typos in the modeltests' descriptions and made use of ReST inline literal markup for code snippets. 2008-08-12 14:15:38 +00:00
order_with_respect_to Fixed #9615 -- Typo fix to testcase. Thanks jarrow. 2008-11-21 16:54:10 +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
proxy_models Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
raw_query Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
reserved_names
reverse_lookup
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
serializers Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +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
test_client Fixed #9978 -- Fixed a KeyError exception that was being raised when using the logout method on the test client on an unauthenticated user, based on patch from ericholscher. 2009-03-30 22:52:48 +00:00
transactions Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
unmanaged_models Fixed the tests from #10455 so that they are set up correctly. 2009-04-11 02:12:31 +00:00
update Updated the tests. 2008-08-09 17:19:44 +00:00
user_commands Fixed #10080: `call_command` now takes option defaults into account, sparing individual commands from any difference between `call_command` and being run from the shell. Thanks, Alex Koshelev. 2009-04-05 17:27:26 +00:00
__init__.py