django/tests/modeltests
Jacob Kaplan-Moss dd966f081a Fixed the test case from [10399] to be more robust against the order in which test cases are executed.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-05 17:54:02 +00:00
..
aggregation Fixed #10250 -- Added a regression test to ensure that GROUP BY statements are correctly quoted under MySQL. This appears to have been corrected inadvertently since the original report, but the extra regression test will make sure it stays that way. 2009-03-12 11:52:55 +00:00
basic Fixed #7672 -- Added a 'week_day' lookup type. Many thanks to Ross Poulton for the proposal and implementation on all built-in database backends.. 2009-02-08 05:08:06 +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 #8669 -- Use a consistent version of create() across the board for 2008-09-03 00:09:33 +00:00
defer Added a test for defer() / only() to make sure saving continues to work. 2009-03-19 22:46:28 +00:00
delete Fixed #7825 - modeltests/delete tests failing after NFA merge, and improved documentation of these tests. 2008-07-21 17:28:21 +00:00
empty
expressions Fixed #10161 -- Modified evaluation of query expressions to allow for operators that take the form of functions. This is mostly for the benefit of Oracle, but it should prove useful later on. Thanks to Ian for the report and feedback on the fix. 2009-02-24 11:15:31 +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 #10347 -- Fixed incorrect AttributeError raised when attempting to access a FileField without an instance. Thanks for the report and patch dc. 2009-02-24 17:24:08 +00:00
fixtures Fixed #5610 -- Added the ability for dumpdata to take individual model names, as well as entire applications. Thanks to David Reynolds for his work on this patch. 2009-02-28 05:35:22 +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 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_or_create Fixed #8669 -- Use a consistent version of create() across the board for 2008-09-03 00:09:33 +00:00
invalid_models Removed oldforms, validators, and related code: 2008-08-27 07:19:44 +00:00
lookup Removed one test that is only intended for PostgreSQL from the visibility of 2008-12-16 06:42:19 +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 Removed trailing whitespace in a few files. 2008-08-26 04:55:56 +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
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 #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_null Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
model_forms Fixed #8746: Check data in raw_id_fields more closely. Thanks, dgouldin 2009-03-30 23:00:36 +00:00
model_formsets Replace test use of assertTrue with failUnless. No matter how many times we try, Python 2.3 still doesn't recognize assertTrue. 2009-04-04 17:51:35 +00:00
model_inheritance Updated the tests. 2008-08-09 17:19:44 +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 #10356 -- Added pure-Python inheritance for models (a.k.a proxy models). 2009-03-18 09:47:08 +00:00
reserved_names Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
reverse_lookup Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +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 Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
serializers Fixed #5903 -- DecimalField.get_default() now correctly returns a Decimal object when the model instance was not retrieved from the database. Thanks Justin Driscoll and pigletto. 2009-02-11 20:13:17 +00:00
signals Fixed the test case from [10399] to be more robust against the order in which test cases are executed. 2009-04-05 17:54:02 +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 Removed the mysql_old backend. It smells bad and has no friends. 2008-07-18 17:38:53 +00:00
unmanaged_models Fixed #3163 -- Add a "Meta.managed" option to models. 2009-03-09 03:35:02 +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