mirror of
https://github.com/django/django.git
synced 2025-11-25 13:13:28 +00:00
Changed the cache name used for singly related objects to be the to_attr parameter passed to a Prefetch object. This fixes issues with checking if values have already been fetched in cases where the Field already has some prefetched value, but not for the same model attr. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| models.py | ||
| test_prefetch_related_objects.py | ||
| test_uuid.py | ||
| tests.py | ||