1
0
mirror of https://github.com/django/django.git synced 2025-03-03 05:24:24 +00:00
Adam Johnson b9838c65ec 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>
2024-05-21 16:19:29 -03:00
..
2024-01-26 12:45:07 +01:00
2023-04-17 06:55:32 +02:00
2023-04-17 06:55:32 +02:00
2023-07-21 12:54:38 +02:00
2023-04-17 06:55:32 +02:00
2023-10-09 09:55:52 +02:00
2024-01-26 12:45:07 +01:00
2023-04-17 06:55:32 +02:00
2023-04-17 06:55:32 +02:00
2023-04-05 06:09:31 +02:00
2023-06-05 08:21:56 -03:00
2023-08-01 13:30:05 -03:00
2023-12-04 09:24:31 +01:00
2024-04-03 11:12:03 -03:00
2024-05-07 15:06:02 -03:00
2024-05-07 15:06:02 -03:00