django/django — pull request #3321 by aericson (2014-10-07 08:01:50+00:00)
Title: Fixed #18307 -- update_or_create failing from a related manager

update_or_create from the RelatedManager would cause an IntegrityError
since the instance was missing in the kwargs.