Leaklens

django__django-15380

Migration autodetector crashes when renaming a model and field.

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

File "/django/django/db/migrations/autodetector.py", line 823, in generate_renamed_fields new_model_state = self.to_state.models[app_label, old_model_name]

Disputed: one of the two checks found a pointer to the 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