1
0
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:
Russell Keith-Magee
2010-03-18 15:22:15 +00:00
parent be8a1f612d
commit 10de2a837f
5 changed files with 100 additions and 1 deletions

View File

@@ -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"]]
}
}
]