django/tests/modeltests
Luke Plant 7c621535a2 Added tests for corner case with deleting where objects are deleted in the wrong order.
These tests currently fail, by design, fix will be committed shortly.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7721 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 20:55:17 +00:00
..
basic Fixed #7366 -- Modified a few expected test outputs to remove the dependency on dictionary ordering. Thanks for the patch, Leo Soto. 2008-06-06 11:47:47 +00:00
choices 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_columns Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +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 #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_pk Replaced dict reprs in tests with explicit looks at each key. This should fix many spurious test failures on other VMs (first noticed on Jython). 2008-03-19 19:11:51 +00:00
delete Added tests for corner case with deleting where objects are deleted in the wrong order. 2008-06-21 20:55:17 +00:00
empty Fixed #6068 -- Updated docstrings in model tests to make the documentation 2007-12-01 21:18:45 +00:00
field_defaults Fixed #5996 -- Add a pyscopg2 convertor for SafeUnicode -> unicode. Thanks, remco@diji.biz 2007-12-01 22:26:24 +00:00
field_subclassing Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
fixtures Fixed a typo. I think I should get full marks for getting all the letters right, but some people insist they should be in the right order, too. 2007-09-16 10:49:27 +00:00
generic_relations Fixed #3906 -- Fixed the reverse_m2m_name for a generic relation. Refs #2749. 2007-12-09 07:12:07 +00:00
get_latest 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
get_object_or_404 Fixed #3511 -- Changed QuerySet.get() to return a MultipleObjectsReturned exception, rather than an assertion error. Thanks, Gary Wilson and cheeming. 2007-12-02 18:21:07 +00:00
get_or_create 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
invalid_models Fixed #3323 -- More robust error handling for related objetcs. Thanks, Greg 2007-12-02 18:10:07 +00:00
lookup Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +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 #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_multiple 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_recursive 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
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
manipulators Replaced dict reprs in tests with explicit looks at each key. This should fix many spurious test failures on other VMs (first noticed on Jython). 2008-03-19 19:11:51 +00:00
many_to_many Fixed #7026 -- Fixed misleading/incorrect exception text when adding to a many-to-many set on an object that doesn't yet have a primary-key value. Thanks for the report, ryan@peaceworks.ca 2008-06-12 04:13:16 +00:00
many_to_one Fixed #7327 -- Added documentation and test case for defining subqueries. Thanks, Sebastian Noack. 2008-06-12 13:19:37 +00:00
many_to_one_null Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
model_forms Fixed #6825 -- Fixed the model_forms tests to also work on Windows by making 2008-03-20 07:19:53 +00:00
model_inheritance Fixed #7350, #7202 -- Fixed serialization for multi-model inheritance, which had multiple problems: 2008-06-09 14:03:35 +00:00
mutually_referential Beefed up support for "lazy" related objects. Now, in addition to ForeignKey("Model") you can also say ForeignKey("app.Model"). This means that cross-app recursive relations now work. 2008-02-26 21:13:16 +00:00
one_to_one Fixed #6886: Tightened up ForeignKey and OneToOne field assignment. Specifically: 2008-06-05 00:39:32 +00:00
or_lookups Fixed #7366 -- Modified a few expected test outputs to remove the dependency on dictionary ordering. Thanks for the patch, Leo Soto. 2008-06-06 11:47:47 +00:00
order_with_respect_to Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
ordering Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
pagination Changed pagination tests to suppress the DeprecationWarning 2008-03-18 21:53:39 +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 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
select_related Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
serializers Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
signals Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +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 Fixed #5836 -- Corrected the logic in the Test Client when an exception raised by a view is caught and re-raised. Thanks for the report, test case, and fix, Chris Wagner. 2008-06-07 06:25:59 +00:00
transactions Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
update Fixed #7298: prevent update() on sliced QuerySet since UPDATE doesn't reliably support LIMIT/OFFSET. Thanks, George Vilches. 2008-06-09 16:17:54 +00:00
user_commands Fixed #6068 -- Updated docstrings in model tests to make the documentation 2007-12-01 21:18:45 +00:00
validation Replaced dict reprs in tests with explicit looks at each key. This should fix many spurious test failures on other VMs (first noticed on Jython). 2008-03-19 19:11:51 +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