How to add data to nested serializers?
问题 I'm trying to add data to my database by rest API and I have some problems with adding the data. So basically I have added this data from the admin page, but I want to add this from my other python by using requests. When I'm sending post request it shows me that it has been added, but sensor array is empty [ { "id": 1, "name": "Stacja 1", "delay_time": 123, "sensor": [ { "id": 1, "name": "DS18B20", "type": "temperature", "date_created": "2020-06-26T16:30:28.657804Z", "value": 123.0, "index":