Open skini-galaxia opened 3 years ago
The problem is the last sentence in the first paragraph of the readme.
It does not support foreign key relations and won't import/export related data.
I wish there was an option to export the content while simply exporting the foreignkeys as null. That way we could export all of the plugins with their settings, then re-add Django Filer objects. I have a rather large site where I've had to set aside about a week just to rebuild all of the content from the Staging server onto the production server. Being able to export the plugins, re-import them then just upload the images/files anew would save a lot of time.
+1 to @avryhof' said. Removing media references from the export JSON file would help a lot, eliminating the need
of manual editing of the exported JSON file. So with null
value for media-related properties the plugins get imported just fine(without media source within the plugin, obviously)
This might be resolved with the changes from https://github.com/django-cms/djangocms-transfer/pull/20. With now released version 1.0.2 you can define custom serializer handling which also enables custom processing for filer-images, e.g. ignoring them, creating a default image on import or transferring images with base64.
Error Logs