Hi
Whilst upgrading a codebase from 1.11.x to 2.0/2.2 I noticed a weird change in behavior of FK fields when copying model instances.
At the bottom of the post there is a testcase that succeeds on 1.11.x and fails on 2.x
I think the commit that changed the behavior is bfb746f983aa741afa3709794e70f1e0ab6040b5
So my question is two fold:
Test (placed in tests/model_fields/test_field_caching_change.py):
---------------------code--------------------------
import copy
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c284e35e-ae02-44e5-b44d-4994eff9b248n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/0b5d48d0-5594-40d6-9dce-80995f8635ecn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/8717dbd1-37a9-4249-bb27-5b3d688a37f3n%40googlegroups.com.