diff --git a/autocomplete_light/example_apps/basic/fixtures/basic_gfk_gmtm.json b/autocomplete_light/example_apps/basic/fixtures/basic_gfk_gmtm.json new file mode 120000 index 000000000..8804a709f --- /dev/null +++ b/autocomplete_light/example_apps/basic/fixtures/basic_gfk_gmtm.json @@ -0,0 +1 @@ +initial_data.json \ No newline at end of file diff --git a/autocomplete_light/example_apps/basic/fixtures/initial_data.json b/autocomplete_light/example_apps/basic/fixtures/initial_data.json new file mode 100644 index 000000000..3f1f81ec5 --- /dev/null +++ b/autocomplete_light/example_apps/basic/fixtures/initial_data.json @@ -0,0 +1,33 @@ +[ +{ + "pk": 1, + "model": "basic.gfkmodel", + "fields": { + "for_inline": null, + "noise": null, + "name": "GfkModel0", + "content_type": null, + "object_id": null + } +}, +{ + "pk": 2, + "model": "basic.gfkmodel", + "fields": { + "for_inline": null, + "noise": null, + "name": "GfkModel1", + "content_type": 12, + "object_id": 1 + } +}, +{ + "pk": 1, + "model": "basic.gmtmmodel", + "fields": { + "noise": null, + "name": "GmtmModel0", + "for_inline": null + } +} +] diff --git a/autocomplete_light/example_apps/security_test/fixtures/initial_data.json b/autocomplete_light/example_apps/security_test/fixtures/initial_data.json new file mode 100644 index 000000000..97739b2c8 --- /dev/null +++ b/autocomplete_light/example_apps/security_test/fixtures/initial_data.json @@ -0,0 +1,33 @@ +[ +{ + "pk": 1, + "model": "security_test.item", + "fields": { + "items": [], + "name": "public", + "private": false + } +}, +{ + "pk": 2, + "model": "security_test.item", + "fields": { + "items": [], + "name": "private", + "private": true + } +}, +{ + "pk": 3, + "model": "security_test.item", + "fields": { + "items": [ + 1, + 2 + ], + "name": "linked", + "private": false + } +} +] + diff --git a/autocomplete_light/example_apps/security_test/fixtures/security_test.json b/autocomplete_light/example_apps/security_test/fixtures/security_test.json new file mode 120000 index 000000000..8804a709f --- /dev/null +++ b/autocomplete_light/example_apps/security_test/fixtures/security_test.json @@ -0,0 +1 @@ +initial_data.json \ No newline at end of file