diff options
| author | Adam Johnson <me@adamj.eu> | 2024-05-03 17:18:06 +0100 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2024-05-21 16:19:29 -0300 |
| commit | b9838c65ec2fee36c1fd0d46494ba44da27a9b34 (patch) | |
| tree | 27ce165d7e8db3efc34204170abc320c8f284c25 /docs/ref | |
| parent | 15fff62d5d8f28b6b61d63341535c9aafc64c865 (diff) | |
Fixed #35405 -- Converted get_cache_name into a cached property in FieldCacheMixin.
FieldCacheMixin is used by related fields to track their cached values.
This work migrates get_cache_name() to be a cached property to optimize
performance by reducing unnecessary function calls when working with
related fields, given that its value remains constant.
Co-authored-by: Simon Charette <charette.s@gmail.com>
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Diffstat (limited to 'docs/ref')
0 files changed, 0 insertions, 0 deletions
