django__django-12125
makemigrations produces incorrect path for inner classes
Verdict: the issue points to the file or function that was changed (Tier B).
I believe the Enum is getting serialized using the django.db.migrations.serializer.TypeSerializer, which still uses the __name__ rather than __qualname__.
The two checks disagreed (stated fix vs. points to it); the lower reading shown: “I believe the Enum is getting serialized using the django.db.migrations.serializer.TypeSerializer, which still uses the __name__ rather than __qualna…”
All SWE-bench Verified tasks · more django/django tasks · How the check works