Sfoglia il codice sorgente

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

Thibaud Colas 2 anni fa
parent
commit
8d68d70260
2 ha cambiato i file con 413 aggiunte e 126 eliminazioni
  1. 409 125
      bakerydemo/base/fixtures/bakerydemo.json
  2. 4 1
      readme.md

File diff suppressed because it is too large
+ 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.
 

Some files were not shown because too many files changed in this diff