Commit 40064db
committed
When a
For this (incorrect) payload the related field would `json.loads`
the `bar` related attribute:
``` py
{
"data": {
"type": "foo",
"attributes": {
"bar": "1",
}
}
}
```
a json ValueError would be thrown instead of the more helpful
"Expected resource identifier object, received unicode"pk was used as a relationship value a json error was thrown1 parent 0959693 commit 40064db
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
| |||
0 commit comments