From 9a4d626dfbea027b7cc5654e20b8e5e23a55d619 Mon Sep 17 00:00:00 2001 From: jpic Date: Wed, 29 Jan 2014 13:07:10 +0100 Subject: [PATCH] Added missing fixtures --- .../basic/fixtures/basic_gfk_gmtm.json | 1 + .../basic/fixtures/initial_data.json | 33 +++++++++++++++++++ .../security_test/fixtures/initial_data.json | 33 +++++++++++++++++++ .../security_test/fixtures/security_test.json | 1 + 4 files changed, 68 insertions(+) create mode 120000 autocomplete_light/example_apps/basic/fixtures/basic_gfk_gmtm.json create mode 100644 autocomplete_light/example_apps/basic/fixtures/initial_data.json create mode 100644 autocomplete_light/example_apps/security_test/fixtures/initial_data.json create mode 120000 autocomplete_light/example_apps/security_test/fixtures/security_test.json 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