Leaklens

django__django-13568

Skip auth.E003 system check for USERNAME_FIELD with total UniqueConstraints.

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

The system check should be extended to check for the presence of USERNAME_FIELD in Model._meta.constraints.

The two checks disagreed (stated fix vs. points to it); the lower reading shown: “The system check should be extended to check for the presence of USERNAME_FIELD in Model._meta.constraints.”

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