parts/django/tests/regressiontests/fixtures_regress/fixtures/nk-inheritance.json
author Nishanth Amuluru <nishanth@fossee.in>
Sun, 09 Jan 2011 20:26:11 +0530
changeset 368 a4fa11b2cb5c
parent 307 c6bca38c1cbf
permissions -rw-r--r--
add textbook works fine

[
    {
        "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"]]
        }
    }
]