One of my models contains a @cached_property
. When I query this model and filter the results, the cached property is not available. However, if I isolate a single instance in the queryset, I can access the cached property. How can I filter the entire queryset based on the value of the cached property?
django.core.exceptions.FieldError: Cannot resolve keyword 'my_cached_property' into field.