1
0
mirror of https://github.com/django/django.git synced 2025-01-16 21:33:33 +00:00
django/tests/defer_regress
Simon Charette 201d29b371 [4.2.x] Fixed #34570 -- Silenced noop deferral of many-to-many and GFK.
While deferring many-to-many and GFK has no effect, the previous
implementation of QuerySet.defer() ignore them instead of crashing.

Regression in b3db6c8dcb5145f7d45eff517bcd96460475c879.

Thanks Paco Martínez for the report.

Backport of 99e5dff737cd20b12d060e4794e097063b61ec40 from main
2023-05-17 08:39:44 +02:00
..