Serialization of m2m relation fails with custom manager using select related Description
Serialization of m2m relation fails with custom manager using select related Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). Serialization of many to many relation with custom manager using select related cause FieldError: Field cannot be both deferred and traversed using…
The task
Serialization of many to many relation with custom manager using select_related cause FieldError: Field cannot be both deferred and traversed using select_related at the same time. Exception is raised because performance optimalization #33937. Workaround is to set simple default manager. However I not sure if this is…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.