9gix/django-rest-framework — pull request #3 by 9gix (2014-07-05 21:07:34+00:00)
Title: issue 1615: delete removed relations before adding

This can prevent duplicate key errors.