How to completely dump the data for Django-CMS

后端 未结 4 1447
独厮守ぢ
独厮守ぢ 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:01

    For DjangoCMS 3.0, the syntax is the same but the names of the plugins have all changed. To get all standard plugins:

    ./manage.py dumpdata cms djangocms_column djangocms_file djangocms_flash djangocms_googlemap djangocms_inherit djangocms_link djangocms_picture djangocms_style djangocms_teaser djangocms_text_ckeditor djangocms_video > cms_export.json

提交回复
热议问题