Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add migration for djangocms-text-ckeditor fields #13

Merged
merged 4 commits into from
Jul 24, 2024

Conversation

fsbraun
Copy link
Sponsor Member

@fsbraun fsbraun commented Jul 2, 2024

This PR adds a migration that migrates existing text content from djangocms-text-ckeditor to djangocms-text.

Both packages provide a Text plugin. The migrations checks if there are entries in a table called djangocms_text_ckeditor_text and if so, copies the content of those text fields into djangocms-text's table.

djangocms_text_ckeditor_text is not modified.

Existing entries in djangocms-text's table are not changed.

This PR also includes some minor changes to docs, and the JSON interface.

@fsbraun fsbraun requested a review from marksweb July 2, 2024 14:39
@fsbraun fsbraun merged commit 10f49bc into main Jul 24, 2024
22 checks passed
@fsbraun fsbraun deleted the feat/ckeditor-migration branch July 24, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant