Changes between Version 1 and Version 2 of Ticket #35044, comment 1
- Timestamp:
- Feb 4, 2024, 3:31:53 PM (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35044, comment 1
v1 v2 1 1 Feels like a bug to me. 2 2 3 When `refresh_from_db(fields)` is specified it should likely not clear reverse relationships and I think the same can be said about 3 When `refresh_from_db(fields)` is specified it should likely not clear reverse relationships and I think the same can be said about private fields. 4 4 5 5 Regression in a7b5ad8b19a08d7d57302ece74f6e26d2887fd9f #27846 for reverse relations and possibly 123b1d3fcf79f091573c40be6da7113a6ef35b62 #34137 for private fields. The private field situation is more complex though as they might be composed of other fields (e.g. `GenericForeignKey`) but the field APIs doesn't expose a generic way of introspecting that so I would assume we'd still want to clear even if `fields` is specified.