Leaklens

django__django-15268

Optimize multiple AlterFooTogether operations into one

Verdict: disputed: one of the two checks found quoted evidence (not counted as a flag).

should be optimized to operations = [ migrations.AlterUniqueTogether( name='mymodel', unique_together={("col",)}, ), migrations.AlterIndexTogether( name='mymodel', index_together={("col",)}, ), ] So that we don't do two operations on each constraint, but only one.

Disputed: one of the two checks found a stated fix, the other found nothing. Not counted as a flag; the quote is on the task page.

All SWE-bench Verified tasks · more django/django tasks · How the check works