kotti_migration

Allow kotti content type to be imported and exported from a kotti site


Keywords
kotti, web, cms, wcms, pylons, pyramid, sqlalchemy, bootstrap, migration, export, import
License
Other
Install
pip install kotti_migration==0.1.3

Documentation

kotti_migration

This is an extension to Kotti that allows content types to be exported and imported to and from your site.

pypi downloads_month license build_status_stable

Find out more about Kotti

Development happens at https://github.com/b4oshany/kotti_migration

Setup

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

Usage

Go to any content type on your site and append @@import to the url, for instance:

http://localhost:8080/@@import

Terminal Commands

kotti-clone-db [OPTIONS] CONFIG_FILE POSTGRES_URL

Development

build_status_master

Contributions to kotti_migration are highly welcome. Just clone its Github repository and submit your contributions as pull requests.