1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
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
__init__.py
test_agnostic_order_trimjoin.py
test_empty_join.py
test_forms.py
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