wagtail / wagtail

A Django content management system focused on flexibility and user experience
https://wagtail.org
BSD 3-Clause "New" or "Revised" License
18.39k stars 3.9k forks source link

Add documentation on content migration/saving pages programmatically #4613

Open williln opened 6 years ago

williln commented 6 years ago

Docs request

When doing a content migration from regular Django models to new Wagtail models, I found very few resources. Saving a Page object programmatically, for example, is not currently documented and best practices are not made available. I touched on this in my Wagtail Space US presentation (link).

Proposal

Future enhancements

I'm happy to take this on, but do the maintainers think this is a good idea?

willbarton commented 6 years ago

1101 is also relevant re: migrating.

loicteixeira commented 6 years ago

How to migrate to Wagtail is a recurrent question so it might indeed be a good idea to have some documentation.

However we have to be careful on the wording and stress that it is for creating pages programmatically to migrate to Wagtail, not within a Django migration (which is a completely different story).