django-rest-framework-bulk
django-rest-framework-bulk copied to clipboard
is it possible to override put?
Im trying to bulk upload data using PUT, but am getting keyError ID, this is expected as I do not have the ID in the JSON data.
however there is another unique field in the JSON Data and I could use that to upload, is it possible to do this?
Model:
ID - unique auto increment
PDID - another unique value
NAME
Mobile
JSON
[{"Name": "Billy Bob", "Mobile": "015525 58165", "PDID": "PA8AMY1"}, {"Name": "John Smith", "Mobile": "159815588, "PDID": "PQ0FT0P"}]
Thanks