Leaklens

django__django-16400

migrate management command does not respect database parameter when adding Permissions.

Verdict: the issue text repeats lines of the gold patch (Tier C).

permission = Permission() 101 permission._state.db = using 102 permission.codename = codename 103 permission.name = name 104 permission.content_type = ct 105 perms.append(permission)

8 of 8 added patch lines appear in the issue or discussion.

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