django/tests/modeltests
Malcolm Tredinnick 9c52d56f6f Merged the queryset-refactor branch into trunk.
This is a big internal change, but mostly backwards compatible with existing
code. Also adds a couple of new features.

Fixed #245, #1050, #1656, #1801, #2076, #2091, #2150, #2253, #2306, #2400, #2430, #2482, #2496, #2676, #2737, #2874, #2902, #2939, #3037, #3141, #3288, #3440, #3592, #3739, #4088, #4260, #4289, #4306, #4358, #4464, #4510, #4858, #5012, #5020, #5261, #5295, #5321, #5324, #5325, #5555, #5707, #5796, #5817, #5987, #6018, #6074, #6088, #6154, #6177, #6180, #6203, #6658


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-27 02:50:16 +00:00
..
basic Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +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
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 Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
many_to_one Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +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 Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +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 Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
or_lookups Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +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 #6068 -- Updated docstrings in model tests to make the documentation 2007-12-01 21:18:45 +00:00
transactions Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
update Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +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