1
0
mirror of https://github.com/django/django.git synced 2025-01-11 10:56:28 +00:00
django/tests/modeltests
Russell Keith-Magee 12716794db Fixed #7350, #7202 -- Fixed serialization for multi-model inheritance, which had multiple problems:
* Serializers were including all superclass fields in their output. Now only local fields are included.
 * Implicit OneToOne primary keys were not correctly added to the metamodel, so they were always marked to be serialized, even though they were primary
 * Model saving was too aggressive about creating new parent class instances during deserialization. Raw save on a model now skips saving of the parent class.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-09 14:03:35 +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
custom_columns Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
custom_managers
custom_methods
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
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
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
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
m2m_intermediary
m2m_multiple
m2m_recursive
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
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 Added some tests to modeltests/many_to_one that demonstrate a post-queryset-refactor bug in dates(). Refs #7097 2008-04-28 00:03:01 +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
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
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
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 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