Here's a trick:
use the manage.py dumpdata command to see what the existing format is!
[
{
"pk": "1",
"model": "polls.poll",
"fields": {
"pub_date": "2008-07-20 17:44:31",
"question": "TEST 1"
}
},
{
"pk": "1",
"model": "polls.choice",
"fields": {
"votes": 1,
"poll": 1,
"choice": "choice1"
}
},
{
"pk": "2",
"model": "polls.choice",
"fields": {
"votes": 23,
"poll": 1,
"choice": "choice2"
}
}
]
that solves it, instead of having the poll_id manually, i just need to
have the field "poll" reference back to the poll_id