django/tests/many_to_one
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
..
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.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
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