浏览代码

Update bakerydemo fixture with Wagtail data changes from 2019 to v4.1.1

Thibaud Colas 2 年之前
父节点
当前提交
8d68d70260
共有 2 个文件被更改,包括 413 次插入126 次删除
  1. 409 125
      bakerydemo/base/fixtures/bakerydemo.json
  2. 4 1
      readme.md

文件差异内容过多而无法显示
+ 409 - 125
bakerydemo/base/fixtures/bakerydemo.json


+ 4 - 1
readme.md

@@ -216,7 +216,10 @@ If you're a Python or Django developer, fork the repo and get stuck in! If you'd
 
 If you change content or images in this repo and need to prepare a new fixture file for export, do the following on a branch:
 
-`./manage.py dumpdata --natural-foreign --indent 2 -e auth.permission -e contenttypes -e wagtailcore.GroupCollectionPermission -e wagtailimages.filter -e wagtailcore.pagerevision -e wagtailimages.rendition -e sessions > bakerydemo/base/fixtures/bakerydemo.json`
+```bash
+./manage.py dumpdata --natural-foreign --indent 2 -e auth.permission -e contenttypes -e wagtailcore.GroupCollectionPermission -e wagtailcore.revision -e wagtailimages.rendition -e sessions -e wagtailsearch.indexentry -e wagtailsearch.sqliteftsindexentry -e wagtailcore.referenceindex -e wagtailcore.pagesubscription -e wagtailcore.pagelogentry > bakerydemo/base/fixtures/bakerydemo.json
+prettier --write bakerydemo/base/fixtures/bakerydemo.json
+```
 
 Please optimize any included images to 1200px wide with JPEG compression at 60%. Note that `media/images` is ignored in the repo by `.gitignore` but `media/original_images` is not. Wagtail's local image "renditions" are excluded in the fixture recipe above.
 

部分文件因为文件数量过多而无法显示