django-rest-framework-bulk
django-rest-framework-bulk copied to clipboard
Fix bulk updates with unique together
This is mostly same approach as in https://github.com/miki725/django-rest-framework-bulk/pull/43 but doesn't do excess database queries.
This doesn't cover cases when unique constraint violated within incoming payload. In this case IntegrityError
is raised deep inside django.
Also, I see that tests are failing because of reasons not connected to my code. I can fix those, but tell me preferred way where I need to push them. Same PR or different one?