mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #13030 -- Corrected natural key deserialization to subclasses. Thanks to yishaibeeri for the report and test case.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{
|
||||
"pk": 1,
|
||||
"model": "fixtures_regress.nkchild",
|
||||
"fields": {
|
||||
"data": "apple"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pk": 1,
|
||||
"model": "fixtures_regress.reftonkchild",
|
||||
"fields": {
|
||||
"text": "my text",
|
||||
"nk_fk" : ["apple"],
|
||||
"nk_m2m": [["apple"]]
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user