Skip to main content

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

Project description

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.

History

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kotti_migration-0.1.3.tar.gz (16.2 kB view details)

Uploaded Source

File details

Details for the file kotti_migration-0.1.3.tar.gz.

File metadata

File hashes

Hashes for kotti_migration-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f774d1c18db10d012567ccfaa2e48d25b9d5b4903ecc65d3d8d65eaf7ed0181d
MD5 ef2dce391c349239f1cdbc406a741863
BLAKE2b-256 84b921de6277cee72f793ed643c7c46ff6ebba6b1698618d45d9039e0fdfea02

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page