There have been several discussions around exporting and importing data from a Wagtail site, e.g. as part of a development process to allow developers to 'scaffold' fixture data. However, there doesn't seem to be a clear answer (or any answer at all on StackOverflow).
Please consider adding a section to the Wagtail documentation describing how to generate fixture data with the Django dumpdata and loaddata commands, as this as not as straightforward as it would seem.
Related
@brylie
I have written a blog talking about this How to Export & Restore Wagtail Site
I will try to create a PR to add a section to Wagtail doc in a bit.
Thx.
@brylie
I have written a blog talking about this How to Export & Restore Wagtail Site
I will try to create a PR to add a section to Wagtail doc in a bit.
Thx.
@michael-yin
I followed your example but I got an error
django.contrib.contenttypes.models.DoesNotExist: Problem installing fixture '/home/oladhari/Reachat-v4/backend/reachat/fixtures/db.yaml': ContentType matching query does not exist.
I would like to cast a vote in favour of this issue after dealing with a problem in #6043 and getting marvellous advice about Wagtail Transfer (thank you @jacobtoppm & @gasman).
A description of these approaches to maintaining your content are sorely needed in the documentation - as well as potentially some tips about where to find information about doing similar procedures with relational DB tools. Anyone here up for drafting a page in the Advanced topics?
Most helpful comment
@brylie
I have written a blog talking about this How to Export & Restore Wagtail Site
I will try to create a PR to add a section to Wagtail doc in a bit.
Thx.