Leaklens

django__django-7530

makemigrations router.allow_migrate() calls for consistency checks use incorrect (app_label, model) pairs

Verdict: the issue points to the file or function that was changed (Tier B).

makemigrations incorrectly calls allow_migrate() for each app with all the models in the project rather than for each app with the app's models.

The two checks disagreed (stated fix vs. points to it); the lower reading shown: “makemigrations incorrectly calls allow_migrate() for each app with all the models in the project rather than for each app with the app's models.”

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