Wrong behavior on queryset update when multiple inheritance Description
Wrong behavior on queryset update when multiple inheritance Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). Queryset update has a wrong behavior when queryset class inherits multiple classes. The update happens not on child class but on other parents class instances. Here an…
The task
Queryset update has a wrong behavior when queryset class inherits multiple classes. The update happens not on child class but on other parents class instances. Here an easy example to show the problem: class Base(models.Model): base_id = models.AutoField(primary_key=True) field_base = models.IntegerField() class…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.