django/tests/modeltests
Russell Keith-Magee 8656fffbe0 [1.0.X] Fixed #11311 -- Reverted [10952], Refs #10785. Changeset [10952] caused problems with m2m relations between models that had non-integer primary keys. Thanks to Ronny for the report and test case.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-15 11:54:03 +00:00
..
basic Fixed #7718 -- Added a naive implementation of sorted() for Python 2.3 compatibility, and modified test cases to import the function when required. 2008-07-13 08:48:18 +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 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
custom_methods Fixed #7560 -- Moved a lot of the value conversion preparation for 2008-07-29 05:09:29 +00:00
custom_pk [1.0.X] Fixed #11311 -- Reverted [10952], Refs #10785. Changeset [10952] caused problems with m2m relations between models that had non-integer primary keys. Thanks to Ronny for the report and test case. 2009-06-15 11:54:03 +00:00
delete [1.0.X] Fixed #9308 -- Corrected the updated of nullable foreign key fields when deleting objects. Thanks to Bob Thomas for the fix, and markshep for the improvements on the test case. 2009-05-19 13:10:35 +00:00
empty Fixed #6068 -- Updated docstrings in model tests to make the documentation 2007-12-01 21:18:45 +00:00
field_defaults [1.0.X] Fixed #6052 -- Worked around a bug in MySQLdb with regards to handling 2008-11-16 08:57:10 +00:00
field_subclassing Removed oldforms, validators, and related code: 2008-08-27 07:19:44 +00:00
files [1.0.X] 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:28:33 +00:00
fixtures 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
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 [1.0.X] 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 12:08:17 +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 [1.0.X] Fixed #11066 -- Corrected 11 duplicate "the"s found in docs and code comments. Thanks kaikuehne. 2009-05-17 16:53: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 [1.0.X] Removed one test that is only intended for PostgreSQL from the 2008-12-16 06:48:15 +00:00
m2m_and_m2o 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
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 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 [1.0.X] Fixed #10413: RelatedManager.add no longer fails silenty when trying to add an object of the wrong type. Thanks, dgouldin. 2009-03-31 21:42:47 +00:00
many_to_one [1.0.X] Fixed #10413: RelatedManager.add no longer fails silenty when trying to add an object of the wrong type. Thanks, dgouldin. 2009-03-31 21:42:47 +00:00
many_to_one_null Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
model_forms [1.0.X] Fixed #10349 -- Modified ManyToManyFields to allow initial form values to be callables. Thanks to fas for the report and patch. 2009-05-02 07:16:30 +00:00
model_formsets [1.0.X] Fixed #9493 -- Corrected error handling of formsets that violate unique constraints across the component forms. Thanks to Alex Gaynor for the patch. 2009-05-08 16:04:59 +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 [1.0.X] Fixed #10157: correctly set the related objects pk when assigning a reverse OneToOne. Thanks, dgouldin. 2009-03-31 21:15:55 +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 [1.0.X] Fixed #9615 -- Typo fix to testcase. Thanks jarrow. 2008-11-21 16:56:24 +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
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 [1.0.X] Fixed #9522 -- Modified handling of values in base serializer so that field subclasses can define their own value_to_string() method for serialization. Thanks to Alex Koshelev for the report and initial patch. 2009-04-13 12:40:43 +00:00
signals [1.0.X] Fixed #11134: signals recievers that disconnect during their processing no longer mess things up for other handlers. Thanks, Honza Kral. Backport of [10831] from trunk. 2009-05-20 16:19:24 +00:00
str 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
test_client [1.0.X]: 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 23:20:10 +00:00
transactions Removed the mysql_old backend. It smells bad and has no friends. 2008-07-18 17:38:53 +00:00
update Updated the tests. 2008-08-09 17:19:44 +00:00
user_commands [1.0.X] 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. Backport of 10400 from trunk. 2009-04-05 17:28:09 +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