Implement a custom management commands to import data from CMS models
We need to implement two management command, one to dumpdata from the cms models that has all the data required to setup the page including the plugin data and placeholder data. Now, also need a custom command something like python manage.py loadloremipsum that would get the data into the newly setup CMS so that it doesn't appear empty out of the box and expose what the CMS is capable of.
@mrbazzan Please have a look at this issue. For some reason, I am unable to assign you this issue.
I think it would be nice to be able to manage a set of standardized demo content within this repo. Can we deploy it (or maybe even multiple versions) in a repo folder that is not normally installed into the Docker image?
The load command then can access the GitHub repo to retrieve the data.
Maybe create a folder called demo-content at the root level and exclude it from being pushed into the docker image. It can be accessed through, say, https://raw.githubusercontent.com/django-cms/django-cms-quickstart/refs/heads/main/demo-content/landing-page.json.
Thanks. This is helpful.
[Should this issue be] closed, given the merged PR[?]