Allow kotti content type to be imported and exported from a kotti site
This is an extension to Kotti that allows content types to be exported and imported to and from your site.
Development happens at https://github.com/b4oshany/kotti_migration
To enable the extension in your Kotti site, activate the configurator:
kotti.configurators = kotti_migration.kotti_configure
Ignore Specific Kotti Content Types
The snippet below will ignore all PDF Content type found in your the exported json file when importing. The snippet below should be placed in your ini file:
migration.ignore_content_types = kotti_pdf.resources.PDF
Go to any content type on your site and append @@import to the url, for instance:
kotti-clone-db [OPTIONS] CONFIG_FILE POSTGRES_URL
Contributions to kotti_migration are highly welcome. Just clone its Github repository and submit your contributions as pull requests.
0.1.3 0 Beta Release 4
- Change directory location of the scripts folder.
0.1.2 - Beta Release 3
- Added a database clone script
0.1.1 - Beta Release 2
- Changed migration.ignores to migration.ignore_content_types
0.1 - beta release
- Create package with pcreate -s kotti kotti_migration.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.