toastdriven/django-tastypie — pull request #1151 by quietlyconfident (2014-04-02 00:05:14+00:00)
Title: Fix race condition between POST / PATCH resources by using update_fields...

Fixes issue 1150 by:
* Creating an update_fields list on the bundle during a patch
* Creating an m2m_update_fields list on the bundle during a patch
* During save, passing arguments to save to only update the changed data: save(update_fields=bundle.update_fields)
* During save_m2m , don't save fields unless they appear in m2m_fields