Leaklens

django__django-13964

Saving parent object after setting on child leads to data loss for parents with non-numeric primary key.

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

elif getattr(self, field.attname) in field.empty_values:

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

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