How to completely dump the data for Django-CMS

后端 未结 4 1446
独厮守ぢ
独厮守ぢ 2021-01-30 23:49

I have an instance of Django-CMS already running in a production environment. I would like to dump all the data related to the CMS (PAGES and PLUGINS) so that I may load it bac

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-31 00:20

    Your dumpdata command only dumps the data for the cms app, but each plugin (cms.plugins.text, cms.plugins.picture, etc.) is its own app, and so needs to be added to the command line.

提交回复
热议问题