From 6e4a0bdcb84496eb3b6e5fca5600e091f1254006 Mon Sep 17 00:00:00 2001 From: Katarina Liu Date: Thu, 2 Nov 2023 18:06:10 -0700 Subject: [PATCH 1/2] Replace search models and remove permission_type and submitted_for_moderation fields. --- bakerydemo/base/fixtures/bakerydemo.json | 142 ++--------------------- 1 file changed, 12 insertions(+), 130 deletions(-) diff --git a/bakerydemo/base/fixtures/bakerydemo.json b/bakerydemo/base/fixtures/bakerydemo.json index 0921eb5a2..c38c58f55 100644 --- a/bakerydemo/base/fixtures/bakerydemo.json +++ b/bakerydemo/base/fixtures/bakerydemo.json @@ -1246,21 +1246,21 @@ } }, { - "model": "wagtailsearch.query", + "model": "wagtailsearchpromotions.query", "pk": 1, "fields": { "query_string": "chocolate" } }, { - "model": "wagtailsearch.query", + "model": "wagtailsearchpromotions.query", "pk": 2, "fields": { "query_string": "london" } }, { - "model": "wagtailsearch.query", + "model": "wagtailsearchpromotions.query", "pk": 3, "fields": { "query_string": "circus" @@ -1276,7 +1276,7 @@ } }, { - "model": "wagtailsearch.querydailyhits", + "model": "wagtailsearchpromotions.querydailyhits", "pk": 2, "fields": { "query": 2, @@ -1285,7 +1285,7 @@ } }, { - "model": "wagtailsearch.querydailyhits", + "model": "wagtailsearchpromotions.querydailyhits", "pk": 3, "fields": { "query": 3, @@ -3960,8 +3960,7 @@ "fields": { "group": ["Moderators"], "page": 1, - "permission": ["add_page", "wagtailcore", "page"], - "permission_type": null + "permission": ["add_page", "wagtailcore", "page"] } }, { @@ -3970,8 +3969,7 @@ "fields": { "group": ["Moderators"], "page": 1, - "permission": ["change_page", "wagtailcore", "page"], - "permission_type": null + "permission": ["change_page", "wagtailcore", "page"] } }, { @@ -3980,8 +3978,7 @@ "fields": { "group": ["Moderators"], "page": 1, - "permission": ["publish_page", "wagtailcore", "page"], - "permission_type": null + "permission": ["publish_page", "wagtailcore", "page"] } }, { @@ -3990,8 +3987,7 @@ "fields": { "group": ["Editors"], "page": 1, - "permission": ["add_page", "wagtailcore", "page"], - "permission_type": null + "permission": ["add_page", "wagtailcore", "page"] } }, { @@ -4000,8 +3996,7 @@ "fields": { "group": ["Editors"], "page": 1, - "permission": ["change_page", "wagtailcore", "page"], - "permission_type": null + "permission": ["change_page", "wagtailcore", "page"] } }, { @@ -4010,8 +4005,7 @@ "fields": { "group": ["Moderators"], "page": 1, - "permission": ["lock_page", "wagtailcore", "page"], - "permission_type": null + "permission": ["lock_page", "wagtailcore", "page"] } }, { @@ -4020,8 +4014,7 @@ "fields": { "group": ["Moderators"], "page": 1, - "permission": ["unlock_page", "wagtailcore", "page"], - "permission_type": null + "permission": ["unlock_page", "wagtailcore", "page"] } }, { @@ -4031,7 +4024,6 @@ "content_type": ["base", "homepage"], "base_content_type": ["wagtailcore", "page"], "object_id": "60", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:10.791Z", "user": ["arabic"], "object_str": "Welcome to the Wagtail Bakery!", @@ -4091,7 +4083,6 @@ "content_type": ["base", "homepage"], "base_content_type": ["wagtailcore", "page"], "object_id": "60", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:11.377Z", "user": ["arabic"], "object_str": "Welcome to the Wagtail Bakery!", @@ -4151,7 +4142,6 @@ "content_type": ["breads", "breadsindexpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "3", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:11.458Z", "user": ["arabic"], "object_str": "Breads", @@ -4199,7 +4189,6 @@ "content_type": ["breads", "breadsindexpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "3", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:11.486Z", "user": ["arabic"], "object_str": "Breads", @@ -4247,7 +4236,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "34", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:11.562Z", "user": ["german"], "object_str": "Anadama", @@ -4299,7 +4287,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "34", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:11.596Z", "user": ["german"], "object_str": "Anadama", @@ -4351,7 +4338,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "35", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:11.664Z", "user": ["arabic"], "object_str": "Anpan", @@ -4403,7 +4389,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "35", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:11.692Z", "user": ["arabic"], "object_str": "Anpan", @@ -4455,7 +4440,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "36", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:11.761Z", "user": ["german"], "object_str": "Appam", @@ -4507,7 +4491,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "36", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:11.789Z", "user": ["german"], "object_str": "Appam", @@ -4559,7 +4542,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "37", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:11.861Z", "user": ["arabic"], "object_str": "Arepa", @@ -4611,7 +4593,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "37", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:11.892Z", "user": ["arabic"], "object_str": "Arepa", @@ -4663,7 +4644,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "39", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:11.978Z", "user": ["admin"], "object_str": "Bagel", @@ -4715,7 +4695,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "39", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.005Z", "user": ["admin"], "object_str": "Bagel", @@ -4767,7 +4746,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "40", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.073Z", "user": ["german"], "object_str": "Baguette", @@ -4819,7 +4797,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "40", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.099Z", "user": ["german"], "object_str": "Baguette", @@ -4871,7 +4848,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "42", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.174Z", "user": ["arabic"], "object_str": "Bammy", @@ -4923,7 +4899,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "42", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.203Z", "user": ["arabic"], "object_str": "Bammy", @@ -4975,7 +4950,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "49", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.276Z", "user": ["german"], "object_str": "Bazin", @@ -5027,7 +5001,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "49", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.305Z", "user": ["german"], "object_str": "Bazin", @@ -5079,7 +5052,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "53", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.382Z", "user": ["arabic"], "object_str": "Bhakri", @@ -5131,7 +5103,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "53", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.408Z", "user": ["arabic"], "object_str": "Bhakri", @@ -5183,7 +5154,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "57", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.476Z", "user": ["german"], "object_str": "Black bread", @@ -5235,7 +5205,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "57", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.502Z", "user": ["german"], "object_str": "Black bread", @@ -5287,7 +5256,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "59", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.574Z", "user": ["admin"], "object_str": "Bolani", @@ -5339,7 +5307,6 @@ "content_type": ["breads", "breadpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "59", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.602Z", "user": ["admin"], "object_str": "Bolani", @@ -5391,7 +5358,6 @@ "content_type": ["locations", "locationsindexpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "63", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.669Z", "user": ["admin"], "object_str": "Locations", @@ -5439,7 +5405,6 @@ "content_type": ["locations", "locationsindexpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "63", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.694Z", "user": ["admin"], "object_str": "Locations", @@ -5487,7 +5452,6 @@ "content_type": ["locations", "locationpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "64", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.760Z", "user": ["german"], "object_str": "Hof", @@ -5603,7 +5567,6 @@ "content_type": ["locations", "locationpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "64", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.788Z", "user": ["german"], "object_str": "Hof", @@ -5719,7 +5682,6 @@ "content_type": ["locations", "locationpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "65", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.876Z", "user": ["german"], "object_str": "Reykjavik", @@ -5835,7 +5797,6 @@ "content_type": ["locations", "locationpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "65", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.906Z", "user": ["german"], "object_str": "Reykjavik", @@ -5951,7 +5912,6 @@ "content_type": ["locations", "locationpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "66", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:12.997Z", "user": ["german"], "object_str": "Vik", @@ -6067,7 +6027,6 @@ "content_type": ["locations", "locationpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "66", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:13.024Z", "user": ["german"], "object_str": "Vik", @@ -6183,7 +6142,6 @@ "content_type": ["locations", "locationpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "67", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:13.112Z", "user": ["german"], "object_str": "Selfoss", @@ -6299,7 +6257,6 @@ "content_type": ["locations", "locationpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "67", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:13.160Z", "user": ["german"], "object_str": "Selfoss", @@ -6415,7 +6372,6 @@ "content_type": ["locations", "locationpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "78", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:13.284Z", "user": ["arabic"], "object_str": "Höfn", @@ -6531,7 +6487,6 @@ "content_type": ["locations", "locationpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "78", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:13.315Z", "user": ["arabic"], "object_str": "Höfn", @@ -6647,7 +6602,6 @@ "content_type": ["locations", "locationpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "79", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:13.407Z", "user": ["admin"], "object_str": "Akranes", @@ -6763,7 +6717,6 @@ "content_type": ["locations", "locationpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "79", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:13.442Z", "user": ["admin"], "object_str": "Akranes", @@ -6879,7 +6832,6 @@ "content_type": ["blog", "blogindexpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "61", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:13.538Z", "user": ["admin"], "object_str": "Blog", @@ -6927,7 +6879,6 @@ "content_type": ["blog", "blogindexpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "61", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:13.565Z", "user": ["admin"], "object_str": "Blog", @@ -6975,7 +6926,6 @@ "content_type": ["blog", "blogpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "62", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:13.636Z", "user": ["german"], "object_str": "Tracking Wild Yeast", @@ -7046,7 +6996,6 @@ "content_type": ["blog", "blogpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "62", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:13.675Z", "user": ["german"], "object_str": "Tracking Wild Yeast", @@ -7117,7 +7066,6 @@ "content_type": ["blog", "blogpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "68", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:13.850Z", "user": ["admin"], "object_str": "Bread and Circuses", @@ -7188,7 +7136,6 @@ "content_type": ["blog", "blogpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "68", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:13.898Z", "user": ["admin"], "object_str": "Bread and Circuses", @@ -7259,7 +7206,6 @@ "content_type": ["blog", "blogpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "72", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.005Z", "user": ["arabic"], "object_str": "The Great Icelandic Baking Show", @@ -7330,7 +7276,6 @@ "content_type": ["blog", "blogpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "72", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.052Z", "user": ["arabic"], "object_str": "The Great Icelandic Baking Show", @@ -7401,7 +7346,6 @@ "content_type": ["blog", "blogpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "73", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.150Z", "user": ["arabic"], "object_str": "The Joy of (Baking) Soda", @@ -7483,7 +7427,6 @@ "content_type": ["blog", "blogpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "73", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.188Z", "user": ["arabic"], "object_str": "The Joy of (Baking) Soda", @@ -7565,7 +7508,6 @@ "content_type": ["blog", "blogpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "74", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.301Z", "user": ["admin"], "object_str": "The Greatest Thing Since Sliced Bread", @@ -7642,7 +7584,6 @@ "content_type": ["blog", "blogpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "74", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.336Z", "user": ["admin"], "object_str": "The Greatest Thing Since Sliced Bread", @@ -7719,7 +7660,6 @@ "content_type": ["blog", "blogpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "77", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.442Z", "user": ["admin"], "object_str": "Desserts with Benefits", @@ -7785,7 +7725,6 @@ "content_type": ["blog", "blogpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "77", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.481Z", "user": ["admin"], "object_str": "Desserts with Benefits", @@ -7851,7 +7790,6 @@ "content_type": ["recipes", "recipeindexpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "80", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.570Z", "user": ["admin"], "object_str": "Recipes", @@ -7898,7 +7836,6 @@ "content_type": ["recipes", "recipeindexpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "80", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.595Z", "user": ["admin"], "object_str": "Recipes", @@ -7945,7 +7882,6 @@ "content_type": ["recipes", "recipepage"], "base_content_type": ["wagtailcore", "page"], "object_id": "81", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.663Z", "user": ["german"], "object_str": "Hot Cross Bun", @@ -8005,7 +7941,6 @@ "content_type": ["recipes", "recipepage"], "base_content_type": ["wagtailcore", "page"], "object_id": "81", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.703Z", "user": ["german"], "object_str": "Hot Cross Bun", @@ -8065,7 +8000,6 @@ "content_type": ["recipes", "recipepage"], "base_content_type": ["wagtailcore", "page"], "object_id": "82", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.801Z", "user": ["admin"], "object_str": "Southern Cornbread", @@ -8125,7 +8059,6 @@ "content_type": ["recipes", "recipepage"], "base_content_type": ["wagtailcore", "page"], "object_id": "82", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.840Z", "user": ["admin"], "object_str": "Southern Cornbread", @@ -8185,7 +8118,6 @@ "content_type": ["recipes", "recipepage"], "base_content_type": ["wagtailcore", "page"], "object_id": "83", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.931Z", "user": ["german"], "object_str": "Mincemeat Tart", @@ -8245,7 +8177,6 @@ "content_type": ["recipes", "recipepage"], "base_content_type": ["wagtailcore", "page"], "object_id": "83", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:14.971Z", "user": ["german"], "object_str": "Mincemeat Tart", @@ -8305,7 +8236,6 @@ "content_type": ["base", "gallerypage"], "base_content_type": ["wagtailcore", "page"], "object_id": "70", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:15.070Z", "user": ["arabic"], "object_str": "Gallery", @@ -8355,7 +8285,6 @@ "content_type": ["base", "gallerypage"], "base_content_type": ["wagtailcore", "page"], "object_id": "70", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:15.102Z", "user": ["arabic"], "object_str": "Gallery", @@ -8405,7 +8334,6 @@ "content_type": ["base", "formpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "69", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:15.186Z", "user": ["admin"], "object_str": "Contact Us", @@ -8519,7 +8447,6 @@ "content_type": ["base", "formpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "69", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:15.219Z", "user": ["admin"], "object_str": "Contact Us", @@ -8633,7 +8560,6 @@ "content_type": ["base", "standardpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "76", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:15.322Z", "user": ["arabic"], "object_str": "About", @@ -8682,7 +8608,6 @@ "content_type": ["base", "standardpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "76", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:15.360Z", "user": ["arabic"], "object_str": "About", @@ -8731,7 +8656,6 @@ "content_type": ["base", "footertext"], "base_content_type": ["base", "footertext"], "object_id": "1", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:18.522Z", "user": ["admin"], "object_str": "Footer text", @@ -8760,7 +8684,6 @@ "content_type": ["base", "footertext"], "base_content_type": ["base", "footertext"], "object_id": "1", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:18.537Z", "user": ["admin"], "object_str": "Footer text", @@ -8789,7 +8712,6 @@ "content_type": ["base", "person"], "base_content_type": ["base", "person"], "object_id": "1", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:22.646Z", "user": ["admin"], "object_str": "Roberta Johnson", @@ -8822,7 +8744,6 @@ "content_type": ["base", "person"], "base_content_type": ["base", "person"], "object_id": "1", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:22.665Z", "user": ["admin"], "object_str": "Roberta Johnson", @@ -8855,7 +8776,6 @@ "content_type": ["base", "person"], "base_content_type": ["base", "person"], "object_id": "2", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:22.703Z", "user": ["admin"], "object_str": "Olivia Ava", @@ -8888,7 +8808,6 @@ "content_type": ["base", "person"], "base_content_type": ["base", "person"], "object_id": "2", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:22.721Z", "user": ["admin"], "object_str": "Olivia Ava", @@ -8921,7 +8840,6 @@ "content_type": ["base", "person"], "base_content_type": ["base", "person"], "object_id": "3", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:22.759Z", "user": ["admin"], "object_str": "Lightnin' Hopkins", @@ -8954,7 +8872,6 @@ "content_type": ["base", "person"], "base_content_type": ["base", "person"], "object_id": "3", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:22.776Z", "user": ["admin"], "object_str": "Lightnin' Hopkins", @@ -8987,7 +8904,6 @@ "content_type": ["base", "person"], "base_content_type": ["base", "person"], "object_id": "4", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:22.812Z", "user": ["admin"], "object_str": "Muddy Waters", @@ -9020,7 +8936,6 @@ "content_type": ["base", "person"], "base_content_type": ["base", "person"], "object_id": "4", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:22.829Z", "user": ["admin"], "object_str": "Muddy Waters", @@ -9053,7 +8968,6 @@ "content_type": ["breads", "breadingredient"], "base_content_type": ["breads", "breadingredient"], "object_id": "1", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:28.831Z", "user": ["admin"], "object_str": "Yeast", @@ -9080,7 +8994,6 @@ "content_type": ["breads", "breadingredient"], "base_content_type": ["breads", "breadingredient"], "object_id": "1", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:28.842Z", "user": ["admin"], "object_str": "Yeast", @@ -9107,7 +9020,6 @@ "content_type": ["breads", "breadingredient"], "base_content_type": ["breads", "breadingredient"], "object_id": "2", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:28.865Z", "user": ["admin"], "object_str": "Flour", @@ -9134,7 +9046,6 @@ "content_type": ["breads", "breadingredient"], "base_content_type": ["breads", "breadingredient"], "object_id": "2", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:28.875Z", "user": ["admin"], "object_str": "Flour", @@ -9161,7 +9072,6 @@ "content_type": ["breads", "breadingredient"], "base_content_type": ["breads", "breadingredient"], "object_id": "3", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:28.898Z", "user": ["admin"], "object_str": "Water", @@ -9188,7 +9098,6 @@ "content_type": ["breads", "breadingredient"], "base_content_type": ["breads", "breadingredient"], "object_id": "3", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:28.911Z", "user": ["admin"], "object_str": "Water", @@ -9215,7 +9124,6 @@ "content_type": ["breads", "breadingredient"], "base_content_type": ["breads", "breadingredient"], "object_id": "4", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:28.957Z", "user": ["admin"], "object_str": "Cinnamon", @@ -9242,7 +9150,6 @@ "content_type": ["breads", "breadingredient"], "base_content_type": ["breads", "breadingredient"], "object_id": "4", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:28.966Z", "user": ["admin"], "object_str": "Cinnamon", @@ -9269,7 +9176,6 @@ "content_type": ["breads", "breadingredient"], "base_content_type": ["breads", "breadingredient"], "object_id": "5", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:28.985Z", "user": ["admin"], "object_str": "Salt", @@ -9296,7 +9202,6 @@ "content_type": ["breads", "breadingredient"], "base_content_type": ["breads", "breadingredient"], "object_id": "5", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:28.994Z", "user": ["admin"], "object_str": "Salt", @@ -9323,7 +9228,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "1", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.678Z", "user": ["admin"], "object_str": "asdf", @@ -9342,7 +9246,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "2", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.687Z", "user": ["admin"], "object_str": "Flatbread", @@ -9361,7 +9264,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "3", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.696Z", "user": ["admin"], "object_str": "Buckwheat bread", @@ -9380,7 +9282,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "4", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.705Z", "user": ["admin"], "object_str": "Yeast bread", @@ -9399,7 +9300,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "5", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.714Z", "user": ["admin"], "object_str": "Sweet bun", @@ -9418,7 +9318,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "6", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.722Z", "user": ["admin"], "object_str": "Varies widely", @@ -9437,7 +9336,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "7", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.731Z", "user": ["admin"], "object_str": "Cornbread", @@ -9456,7 +9354,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "8", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.740Z", "user": ["admin"], "object_str": "Various thick, round breads", @@ -9475,7 +9372,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "9", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.749Z", "user": ["admin"], "object_str": "Sweet bread", @@ -9494,7 +9390,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "10", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.760Z", "user": ["admin"], "object_str": "Fruit bread", @@ -9513,7 +9408,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "11", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.769Z", "user": ["admin"], "object_str": "Unleavened bread", @@ -9532,7 +9426,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "12", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.779Z", "user": ["admin"], "object_str": "Quick or yeast bread", @@ -9551,7 +9444,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "13", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.787Z", "user": ["admin"], "object_str": "Waffle", @@ -9570,7 +9462,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "14", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.796Z", "user": ["admin"], "object_str": "Unleavened Flatbread", @@ -9589,7 +9480,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "15", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.805Z", "user": ["admin"], "object_str": "Yeast bread or unleavened", @@ -9608,7 +9498,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "16", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.814Z", "user": ["admin"], "object_str": "Rye bread", @@ -9627,7 +9516,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "17", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.823Z", "user": ["admin"], "object_str": "Bun", @@ -9646,7 +9534,6 @@ "content_type": ["breads", "breadtype"], "base_content_type": ["breads", "breadtype"], "object_id": "18", - "submitted_for_moderation": false, "created_at": "2023-09-01T16:55:33.832Z", "user": ["admin"], "object_str": "Pancake", @@ -9665,7 +9552,6 @@ "content_type": ["base", "homepage"], "base_content_type": ["wagtailcore", "page"], "object_id": "60", - "submitted_for_moderation": false, "created_at": "2023-09-01T17:01:46.837Z", "user": ["editor"], "object_str": "Welcome to the Wagtail Bakery!", @@ -9754,7 +9640,6 @@ "content_type": ["blog", "blogpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "68", - "submitted_for_moderation": false, "created_at": "2023-09-01T17:03:39.289Z", "user": ["editor"], "object_str": "Bread and Circuses", @@ -9830,7 +9715,6 @@ "content_type": ["base", "person"], "base_content_type": ["base", "person"], "object_id": "4", - "submitted_for_moderation": false, "created_at": "2023-09-01T17:04:03.514Z", "user": ["editor"], "object_str": "Muddy Waters", @@ -9863,7 +9747,6 @@ "content_type": ["recipes", "recipepage"], "base_content_type": ["wagtailcore", "page"], "object_id": "82", - "submitted_for_moderation": false, "created_at": "2023-09-01T17:07:42.459Z", "user": ["admin"], "object_str": "Southern Cornbread", @@ -9923,7 +9806,6 @@ "content_type": ["blog", "blogpage"], "base_content_type": ["wagtailcore", "page"], "object_id": "68", - "submitted_for_moderation": false, "created_at": "2023-09-01T17:58:50.377Z", "user": ["admin"], "object_str": "Bread and Circuses", From e1e5239d67e53ed121e8cfb1c65fa0a4570dcb56 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Fri, 3 Nov 2023 11:29:56 +0000 Subject: [PATCH 2/2] Update remaining wagtailsearch.querydailyhits reference --- bakerydemo/base/fixtures/bakerydemo.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bakerydemo/base/fixtures/bakerydemo.json b/bakerydemo/base/fixtures/bakerydemo.json index c38c58f55..1e42f4687 100644 --- a/bakerydemo/base/fixtures/bakerydemo.json +++ b/bakerydemo/base/fixtures/bakerydemo.json @@ -1267,7 +1267,7 @@ } }, { - "model": "wagtailsearch.querydailyhits", + "model": "wagtailsearchpromotions.querydailyhits", "pk": 1, "fields": { "query": 1,