django/tests/foreign_object
Simon Charette 75dfa92a05 Fixed #29908 -- Fixed setting of foreign key after related set access if ForeignKey uses to_field.
Adjusted known related objects handling of target fields which relies on
from and to_fields and has the side effect of fixing a bug bug causing
N+1 queries when using reverse foreign objects.

Thanks Carsten Fuchs for the report.
2018-11-08 19:51:15 -05:00
..
models Removed invalid Meta.ordering in a test model. 2018-08-22 10:05:12 -04:00
__init__.py Fixed 19385 -- Added ORM support for multicolumn joins 2013-03-24 18:08:01 +02:00
test_agnostic_order_trimjoin.py Fixed #26515 -- Fixed Query.trim_joins() for nested ForeignObjects. 2016-05-19 09:56:24 -04:00
test_empty_join.py Replaced type-specific assertions with assertEqual(). 2017-03-17 07:51:48 -04:00
test_forms.py Moved foreign_object models.py into a module. 2015-08-14 08:53:35 -04:00
tests.py Fixed #29908 -- Fixed setting of foreign key after related set access if ForeignKey uses to_field. 2018-11-08 19:51:15 -05:00