Open
Conversation
3e97384 to
9861cca
Compare
9861cca to
7891d48
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Don't merge
This pull request includes several changes to the
blogandwp_connectormodules, focusing on adding new models, updating migrations, and refining theexporterfunctionalities. The most important changes involve the creation of new models for blog categories, updates to thewp_connectorexporter, and migration adjustments.This pull request includes significant changes to the migration files, model definitions, and some functionality improvements in the
wp_connectormodule. The most important changes include the creation of new models for blog categories, updates to thewp_connectormodels and migrations, and the introduction of a new utility class for converting HTML to StreamField JSON.Blog Module Enhancements:
BlogCategorymodel withnameandslugfields. (blog/migrations/0007_blogcategory.py)BlogPageCategorymodel to associate blog pages with categories. (blog/migrations/0008_blogpagecategory.py)Home Module Adjustments:
StreamFieldblock name from "paragraph" to "paragrpah". (home/migrations/0005_alter_standardpage_body.py)StreamFieldblock lookup to remove unnecessary mappings. (home/migrations/0006_alter_standardpage_body.py)wp_connector Module Enhancements:
wagtail_page_idfield to various models inwp_connectorinitial migration. (wp_connector/migrations/0001_initial.py) [1] [2]wp_connector/migrations/0002_alter_wpauthor_name.py,wp_connector/migrations/0003_wpauthor_wagtail_page_id_wpcategory_wagtail_page_id_and_more.py) [1] [2]HTML_to_Streamfieldutility class for converting HTML content to StreamField JSON format. (wp_connector/exporter.py)Codebase Improvements:
message_paramto enhance log messages inupdate_wagtail_pagefunction. (wp_connector/admin.py)StreamBlockinhome/models.pyto avoid import errors. (home/models.py)