DirectEmployers/MyJobs — pull request #156 by stemchan (2013-05-17 14:09:55+00:00)
Title: MultipleObjectsReturned bug

This is a quick fix but I'm kind of unhappy with it because it doesn't get to the root of the problem but I've been unsuccessful at duplicating the issue.

I have a custom save method on the Name model in myprofile that ensures only one name is set to primary=True at a time but we're running into issues on the production site where people are able to save multiple primary names. I'm kind of at a loss on how this is happening and I can't duplicate it.

Does anyone else have any insight on this?

All tests pass.